Re: [PHP-DB] Mail question

2005-02-14 Thread Micah Stevens
I'm replying off-list as this isn't a database question, but check out the pear mail class at: http://pear.php.net It handles SMTP authentication. The standard mail() function does not. HTH -Micah On Monday 14 February 2005 10:12 am, ReClMaples wrote: > I have a quick, probably easy to ans

[PHP-DB] Mail question

2005-02-14 Thread ReClMaples
I have a quick, probably easy to answer question. I am trying to add the ability to email from like a quest book or a calendar event and get an authentication error in my error log. I can only believe that this is due to my smtp server needed to know my login and password. Is there a way I can p

[PHP-DB] mail() question

2003-01-05 Thread tony
I am trying to get the mail() function to work. Here is my test code: ini_set("SMTP", "mail.mydomain.com"); ini_set("sendmail_from", "[EMAIL PROTECTED]"); echo ini_get("SMTP"); echo "", ini_get("sendmail_from"); echo "", ini_get("sendmail_path"); echo $success = mail("[EMAIL PROTECTED]", "A s