sammieave Posted January 17, 2012 Share Posted January 17, 2012 $to=sammieave@ave.com,samuel@ave.com; $subject = "New Event Logged"; $message = "Test"; $headers = "From: Samuel<sammieave@ave.com>;\r\n"; $headers .= "Content-Type: text/html"; mail($to,$subject,$message,$headers); I am having the above code but unfortunately the error I am getting is: Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:\xampp\htdocs\CRM\support\mailer.php on line 139 Link to comment https://forums.phpfreaks.com/topic/255206-warning-mail-functionmail-smtp-server-response-550-requested-action-not/ Share on other sites More sharing options...
trq Posted January 17, 2012 Share Posted January 17, 2012 Do you have a mail server installed and configured? Link to comment https://forums.phpfreaks.com/topic/255206-warning-mail-functionmail-smtp-server-response-550-requested-action-not/#findComment-1308494 Share on other sites More sharing options...
sammieave Posted January 17, 2012 Author Share Posted January 17, 2012 Yes it has. I am using MailEnable Standard edition. Link to comment https://forums.phpfreaks.com/topic/255206-warning-mail-functionmail-smtp-server-response-550-requested-action-not/#findComment-1308505 Share on other sites More sharing options...
trq Posted January 17, 2012 Share Posted January 17, 2012 It definitely doesn't look like it is configured properly. This has nothing to do with php. Link to comment https://forums.phpfreaks.com/topic/255206-warning-mail-functionmail-smtp-server-response-550-requested-action-not/#findComment-1308506 Share on other sites More sharing options...
sammieave Posted January 17, 2012 Author Share Posted January 17, 2012 I have finally figured out what the problem was. I hadn't configured one of the email addresses in the mail server. I thought the mail server would just skip it. #newbieproblems Link to comment https://forums.phpfreaks.com/topic/255206-warning-mail-functionmail-smtp-server-response-550-requested-action-not/#findComment-1308507 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.