pollita Wed Aug 20 20:19:55 2003 EDT
Modified files:
/phpdoc/en/reference/mail/functions mail.xml
Log:
Incorporate user note.
Index: phpdoc/en/reference/mail/functions/mail.xml
diff -u phpdoc/en/reference/mail/functions/mail.xml:1.23
phpdoc/en/reference/mail/functions/mail.xml:1.24
--- phpdoc/en/reference/mail/functions/mail.xml:1.23 Sat Aug 16 13:35:22 2003
+++ phpdoc/en/reference/mail/functions/mail.xml Wed Aug 20 20:19:55 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.23 $ -->
+<!-- $Revision: 1.24 $ -->
<!-- splitted from ./en/functions/mail.xml, last change in rev 1.2 -->
<refentry id="function.mail">
<refnamediv>
@@ -137,8 +137,8 @@
<![CDATA[
<?php
/* recipients */
-$to = "Mary <[EMAIL PROTECTED]>" . ", " ; // note the comma
-$to .= "Kelly <[EMAIL PROTECTED]>";
+$to = "[EMAIL PROTECTED]" . ", " ; // note the comma
+$to .= "[EMAIL PROTECTED]";
/* subject */
$subject = "Birthday Reminders for August";
@@ -171,8 +171,8 @@
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */
+$headers .= "To: Mary <[EMAIL PROTECTED]>, Kelly <[EMAIL PROTECTED]>\r\n";
$headers .= "From: Birthday Reminder <[EMAIL PROTECTED]>\r\n";
-
$headers .= "Cc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
@@ -192,10 +192,10 @@
</note>
<note>
<para>
- The <parameter>to</parameter> parameter cannot be an address
+ The <parameter>to</parameter> parameter should not be an address
in the form of "Something <[EMAIL PROTECTED]>". The
- mail command will not parse this properly while talking with
- the MTA.
+ mail command may not parse this properly while talking with
+ the MTA (Particularly under Windows).
</para>
</note>
<para>