By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,401 Members | 820 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,401 IT Pros & Developers. It's quick & easy.

SMTP error

P: 1
When i try to send email from local host. i changed my SMTP=localhost to my SMTP mail server name in php.ini file.i got an error like this:

Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 relaying denied in C:\wamp\www\gang\core\class_mailer.php on line 189

please suggest a good solution to recover this error.
the class_mailer php script is attached along with this.
Dec 21 '11 #1
Share this Question
Share on Google+
1 Reply

P: 5
Hi to use mail functionality from php need to configure smtp details in php. if you dont have access in the server configuration use phpmailer class. where you need to declare smtp details..check the below link for more information
Dec 26 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.