Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Bob Bedford
February 24, 2005, 10:49 pm
rate this thread
when sending an email from the mail() function I get this message:
Proper authentication required
I did set the php.ini values like this:
SMTP = mail.myserver.com ; for Win32 only
smtp_port = 25
sendmail_from= email@example.com; for Win32 only
I am coding on a "localhost" machine and I believed that connecting to a
mail server like it's done above would work. what's wrong ? How to set
authentication for letting my server accept my mail ?
Re: mail()Relaying denied. Proper authentication required
Bob Bedford wrote:
Most likely, your SMTP server requires authorization. Turn it off
or, better yet, forget the mail() function and incorporate phpMailer
into your application. This way, your application could be deployed
anywhere and work without eithrt local or remote SMTP server.
phpMailer can be found here: