email error plz help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eshban
Forum Contributor
Posts: 184
Joined: Mon Sep 05, 2005 1:38 am

email error plz help

Post by eshban »

hi,

i have just changed my hosting and after that my website cannot send email. Like there is a link "EMAIL TO FRIEND" in my website when i send email at my own domain then email will be sent successfully, but if i send email to some other email address then i got this error

SMTP server response: 550 Delivery is not allowed to this address.

how can i fix this error. in my website there are number of forms from users can send emails and in every form i am facing this problem
sparrrow
Forum Commoner
Posts: 81
Joined: Mon Oct 20, 2008 12:22 pm

Re: email error plz help

Post by sparrrow »

Different hosting providers and accounts have different mail settings they use. Confirm with your hosting account what the mail send settings are. The settings can be required to go into a number of places: in your code, on your hosting account settings, in PHP.ini, or you may have to set up your own instance of PEAR:mail or another mail service. Your hosting provider should have documentation available.
Post Reply