Ask a Question related to PHP Notes, Design and Development.
-
ditzhuijsen@hotmail.com #1
note 33666 added to function.mail
If I use
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */
$headers .= "From: Birthday Reminder <birthday@example.com>\r\n";
$headers .= "Cc: [email]birthdayarchive@example.com[/email]\r\n";
$headers .= "Bcc: [email]birthdaycheck@example.com[/email]\r\n";
(example from the php.net site) there are problems with some mail servers (example home.nl and gmx.net and probably more) that there are empty linus between the header and therefor mail programs see Conten-type and everything after that as part of the body.
Just removing the \r will fix this problem; so maybe it's an idea to remove this from the example??
(I don't know whether it also works on windows os)
----
Manual Page -- [url]http://www.php.net/manual/en/function.mail.php[/url]
Edit Note -- [url]http://master.php.net/manage/user-notes.php?action=edit+33666[/url]
Delete Note -- [url]http://master.php.net/manage/user-notes.php?action=delete+33666&report=yes[/url]
Reject Note -- [url]http://master.php.net/manage/user-notes.php?action=reject+33666&report=yes[/url]
ditzhuijsen@hotmail.com Guest
-
note 33991 added to function.mail
If your mail server requires authentication or if you just need to communicate directly via sockets, refer to the documentation on fsockopen(). ... -
note 33859 added to function.mail
I had wondered how to add a request for "Read recipt" and I believe it is a simple case of adding Disposition-Notification-To: EXAMPLE: $headers... -
note 33745 added to function.mail
Please I really need help!... I'm writing this code... and it doesn't wanna work with me...!! Can anybody help me? Thank <html> <head>... -
note 33666 rejected from function.mail by alindeman
Note Submitter: ditzhuijsen@hotmail.com ---- If I use /* To send HTML mail, you can set the Content-type header. */ $headers =... -
note 33650 added to function.mail
If you put the headers in quotationmarks ("), they work fine - but if you use ('), they don't... ---- Manual Page --...



Reply With Quote

