note 21337 added to function.mail

From: Date: Thu, 09 May 2002 01:14:00 +0000
Subject: note 21337 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-30361@lists.php.net to get a copy of this message
When adding attachments to the message body on a Windows system, always open the file using the binary flag option i.e. fopen("filename","rb"). If you don't then any non text attachments will be unreadable when the email is received. The binary flag is ignored if not required so it does no harm to always include it in these circumstances. -- http://www.php.net/manual/en/function.mail.php http://master.php.net/manage/user-notes.php?action=edit+21337 http://master.php.net/manage/user-notes.php?action=delete+21337 http://master.php.net/manage/user-notes.php?action=reject+21337

« previous php.notes (#30361) next »