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<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 :)
Link to comment
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?
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.