when sending an email from the mail() function I get this message:
mail(): SMTP server response: 550 5.7.1 <test@test.com> ... Relaying denied.
Proper authentication required
I did set the php.ini values like this:
SMTP = mail.myserver.c om ; for Win32 only
smtp_port = 25
sendmail_from= webmaster@myser ver.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 ?
Bob
mail(): SMTP server response: 550 5.7.1 <test@test.com> ... Relaying denied.
Proper authentication required
I did set the php.ini values like this:
SMTP = mail.myserver.c om ; for Win32 only
smtp_port = 25
sendmail_from= webmaster@myser ver.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 ?
Bob
Comment