cvs: phpdoc /en/reference/mail/functions mail.xml
| From: | Sara Golemon | Date: | Thu, 21 Aug 2003 00:19:55 +0000 |
| Subject: | cvs: phpdoc /en/reference/mail/functions mail.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969356032@lists.php.net to get a copy of this message | ||
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 <mary@example.com>" . ", " ; // note the comma
-$to .= "Kelly <kelly@example.com>";
+$to = "mary@example.com" . ", " ; // note the comma
+$to .= "kelly@example.com";
/* 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 <mary@example.com>, Kelly <kelly@example.com>\r\n";
$headers .= "From: Birthday Reminder <birthday@example.com>\r\n";
-
$headers .= "Cc: birthdayarchive@example.com\r\n";
$headers .= "Bcc: birthdaycheck@example.com\r\n";
@@ -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 <someone@example.com>". 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>