I just sent up a routine to send emails via PHP's mail function. I have specified the SMTP server in the php.ini file as below:
SMTP = outgoing.website.net
when I send an email, it produces an error message stating that the server requires authentication - how do I pass the username and password to the server - i.e. should it be placed in the email header - if so, how - or is there a setting that should be added to the php.ini file.
ps, I am running windows