Include user and password
Posted: Fri Feb 27, 2009 3:06 pm
Got the nasty 'SMTP server response: 530 authentication required' when attempting to use the mail command in PHP. Works fine on my Unix box but obviously I need to send my username and password attached to my email server supplied my ISP.
So if my mail command is:
mail ('to-email-address', 'subject' ,'body of text' , 'from email address')'; where do I add my user/password?
My php.ini file is good, my SMTP = points of my server and smtp_port = 25.
Now, if I could only supply my user/password it would work.
Mike in Toronto
So if my mail command is:
mail ('to-email-address', 'subject' ,'body of text' , 'from email address')'; where do I add my user/password?
My php.ini file is good, my SMTP = points of my server and smtp_port = 25.
Now, if I could only supply my user/password it would work.
Mike in Toronto