When i tried to send mail in PHP it failed and display a warning as below
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for sujilesh143@gmail.com in C:\wamp\www\Trial\send.php on line 15
Actually I am a beginner in the field of PHP.Here we are using Wampserver as software.SMTP is also enabled please tell me a complete solution.It's very urgent.
Mail sending error
Moderator: General Moderators
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: Mail sending error
If you are running your WAMP setup using the default settings then no, you will not be able to send emails.
Off the top of my head I couldn't tell you how to change the settings to facilitate this within WAMP, I suggest you look up Apache email config on Google or something.
So that's probably not a great deal of help
but you might like to know that your code will probably work fine when uploaded to your web server (if that is your intention, of course).
Off the top of my head I couldn't tell you how to change the settings to facilitate this within WAMP, I suggest you look up Apache email config on Google or something.
So that's probably not a great deal of help