note 18604 added to function.mail

From: Date: Tue, 29 Jan 2002 07:46:14 +0000
Subject: note 18604 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-25961@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... -- http://www.php.net/manual/en/function.mail.php http://master.php.net/manage/user-notes.php?action=edit+18604 http://master.php.net/manage/user-notes.php?action=delete+18604 http://master.php.net/manage/user-notes.php?action=reject+18604

« previous php.notes (#25961) next »