note 18604 deleted from function.mail by sniper

From: Date: Wed, 29 Jan 2003 11:55:07 +0000
Subject: note 18604 deleted from function.mail by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43040@lists.php.net to get a copy of this message
To go on with the discussion about \r\n and \n, I have to add something. We tried to send mails with the mail-function but it just won't work. So after some troubleshooting we recognized our smtp-server was a windows-pc. After we replaced all \n (message AND header) with \r\n everything worked perfect. So it seems to us, you HAVE to use \r\n with windows-servers. Perhaps this helps someone out there...

« previous php.notes (#43040) next »