sammieave Posted January 17, 2012 Share Posted January 17, 2012 [email protected],[email protected]; $subject = "New Event Logged"; $message = "Test"; $headers = "From: Samuel<[email protected]>;\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 Quote 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? Quote 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. Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.