View Single Post

  #1 (permalink)  
Old 03-27-2007
Abersparky
 
Posts: n/a
Default mail() function help!

Can someone help me with the mail() function???
The below is just to get myself going but I can't seem to get it
working... is there something else I should be doing? I checked
phpinfo() and the sendmail values are below. Those mean it's turn on
right?

sendmail_from
me@localhost.com

sendmail_path
/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

My code is as follows:

mail ('abersparky@gmail.com', 'New Comment Submitted for Approval',
'Approval informational');

THANKS!!!

Reply With Quote