Does anyone know how to add SMTP info e.g. server, login, password to a mail() script for authentication purposes?
thanks
On a Unix system? Configure the sendmail program (or qmail, or whatever the appropriate mailer is for your server).
On Windows, I do not know if that is possible without using some other mailer class (such as PHPMailer).