Noctagon Posted October 26, 2006 Share Posted October 26, 2006 Hi all I am using this tutorial for a members system.http://www.phpfreaks.com/tutorials/40/3.phpIt seems to be working fine all the way up to when this part of the code executes...[code] mail($email_address, $subject, $message, "From: MyDomain Webmaster<admin@mydomain.com>\n X-Mailer: PHP/" . phpversion()); echo 'Your membership information has been mailed to your email address! Please check it and follow the directions!'; [/code]It tries to send the email, it echos out the 'Your membership....message' and then I get an email which says:[quote]Subject: Delivery Status Notification (Failure) The following message to <email@signupemailaddy.com> was undeliverable.The reason for the problem:5.1.0 - Unknown address error 550-'Administrative prohibition'[/quote]NB: I did substitute the email for this post :)Any ideas on what might be causing this error.I am running the script from localhost and have gone into the php.inin file and changed the mail settings to my outgoing smtp server.Thanks,Noctagon :) Quote Link to comment Share on other sites More sharing options...
mb81 Posted October 26, 2006 Share Posted October 26, 2006 It would have to do with the settings on your smtp server. Does your SMTP server require authentication? Have you properly set up your SMTP authentication? Quote Link to comment Share on other sites More sharing options...
Noctagon Posted October 26, 2006 Author Share Posted October 26, 2006 Hi mb81,I am not sure.....All I put in php.ini was smtp = mail.iinet.net.auhow do I check if it is set up correctly.......through my mail client when I send emails I do not have the box ticked which says server requires authentication. Quote Link to comment Share on other sites More sharing options...
Noctagon Posted November 1, 2006 Author Share Posted November 1, 2006 OK, now I have the email being sent but it gets rejected with:Subject: Delivery Status Notification (Failure) The following message to <blah@blah.com> was undeliverable.The reason for the problem:5.1.0 - Unknown address error 550-'Administrative prohibition'What could be causing this? Quote Link to comment Share on other sites More sharing options...
Cep Posted November 1, 2006 Share Posted November 1, 2006 550 Administrative prohibition is a very vague description but it can be tied to the following,- incorrect authentication with smtp server- remote blacklist- smtp server rules- smtp server requires a reverse dns lookup where none is provided- relaying is not permitted within your network (if your webserver is routing emails to another mail server on your network)And countless more I am sure. Quote Link to comment 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.