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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Ed Sickafus
Forum Newbie
Posts: 2
Joined: Thu May 22, 2003 9:21 am
Location: Grosse Ile, MI

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

Post 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 :(

?>
Post Reply