littledbc Posted March 6, 2006 Share Posted March 6, 2006 I get this error when trying to use the mail() function:mail() [function.mail]: SMTP server response: 550 Relaying deniedDoes anyone know how to authenticate to the SMTP server so I don't get this error?Thanks! Quote Link to comment Share on other sites More sharing options...
apulmca2k4 Posted October 4, 2008 Share Posted October 4, 2008 Hi,I can do it for you .Apulapulmca2k4@gmail.com Quote Link to comment Share on other sites More sharing options...
redarrow Posted October 4, 2008 Share Posted October 4, 2008 try this mate[code]<?phpini_set("SMTP","mail.domain.com");ini_set("sendmail_from","abc@example.com"); ?>[/code] Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 4, 2008 Share Posted October 4, 2008 If possible, make either the To: or the From: address be hosted on the mail server to satisfy relaying restrictions. If you are putting a user entered email address into the From: header, put it instead into the Reply-To: header and put a valid email address hosted on the mail server into the From: header.The php mail() function does not support SMTP authentication. Use the phpmailer class instead. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.