Page 1 of 1

mail() with attachments on UNIX doesn't send mail

Posted: Thu May 22, 2003 9:21 am
by Ed Sickafus
mail() script with simple text file doesn't send mail from UNIX system.

Using mail() script by "alex at bartl dot net" found at http://www.php.net/manual

php.ini parameters are set:
register_globals=On
upload_tmp_dir=/home/"MASTERUSER"/tmp
from="me@myemailaddress"
sendmail_path="usr/sbin/sendmail -t -i -f me@myemailaddress

\n's occuring in $headers and $Text have \r's added.

Any suggestions greatly appreciated.
Ed :(

?>