Jump to content

Archived

This topic is now archived and is closed to further replies.

Noctagon

5.1.0 - Unknown address error 550-'Administrative prohibition'

Recommended Posts

Hi all I am using this tutorial for a members system.

http://www.phpfreaks.com/tutorials/40/3.php

It 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 :)

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Hi mb81,

I am not sure.....All I put in php.ini was smtp = mail.iinet.net.au

how 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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.