Jump to content

5.1.0 - Unknown address error 550-'Administrative prohibition'


Noctagon

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<[email protected]>\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 protected]> 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 :)
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.

OK, now I have the email being sent but it gets rejected with:


Subject: Delivery Status Notification (Failure)
     
The following message to <[email protected]> was undeliverable.
The reason for the problem:
5.1.0 - Unknown address error 550-'Administrative prohibition'


What could be causing this?
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.

Archived

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

×
×
  • Create New...

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.