[PHP] simple mail() question

2004-11-13 Thread Adam Fleming
Hello All, I have a simple mail() question, and I hope a hero can shed some light. I can't understand why my messages are being encoded, and extra headers are being added, *before* the message is sent through sendmail. Infinite Thanks, Adam Input: $more test.php Expected Result: $php -d sendmail

[PHP] Simple Mail

2002-08-14 Thread Dave Leather
Something is VERY weird with trying to send mail. I am running Apache for windows and trying to send mail... using a line such as mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3"); But I get an error of Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\c