cvs: phpdoc-pl /reference/mail/functions mail.xml

From: Date: Thu, 03 Oct 2002 01:07:35 +0000
Subject: cvs: phpdoc-pl /reference/mail/functions mail.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-65@lists.php.net to get a copy of this message
leszek Wed Oct 2 21:07:35 2002 EDT Modified files: /phpdoc-pl/reference/mail/functions mail.xml Log: [qrak] updated to EN 1.13 Index: phpdoc-pl/reference/mail/functions/mail.xml diff -u phpdoc-pl/reference/mail/functions/mail.xml:1.8 phpdoc-pl/reference/mail/functions/mail.xml:1.9 --- phpdoc-pl/reference/mail/functions/mail.xml:1.8 Tue Aug 27 21:08:47 2002 +++ phpdoc-pl/reference/mail/functions/mail.xml Wed Oct 2 21:07:35 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.11 Maintainer: qrak Status: ready --> -<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.13 Maintainer: qrak Status: ready --> +<!-- $Revision: 1.9 $ --> <refentry id="function.mail"> <refnamediv> <refname>mail</refname> @@ -92,7 +92,7 @@ <title>Wysy³anie listu z dodatkowymi nag³ówkami.</title> <programlisting> <![CDATA[ -mail("nobody@example.com", "temat", $message, +mail("nobody@example.com", "temat", $wiadomosc, "From: webmaster@$SERVER_NAME\r\n" ."Reply-To: webmaster@$SERVER_NAME\r\n" ."X-Mailer: PHP/" . phpversion()); @@ -114,7 +114,7 @@ <title>Wysy³anie listu z dodatkowymi nag³ówkami i prze³±cznikami.</title> <programlisting> <![CDATA[ -mail("nobody@example.com", "temat", $message, +mail("nobody@example.com", "temat", $wiadomosc, "From: webmaster@$SERVER_NAME", "-fwebmaster@$SERVER_NAME"); ]]> </programlisting> @@ -137,47 +137,47 @@ <programlisting> <![CDATA[ /* adresaci */ -$to = "Mary <mary@example.com>" . ", " ; // zwróc uwagê na przecinek -$to .= "Kelly <kelly@example.com>"; +$do = "Marysia <marysia@example.com>" . ", " ; // zwróc uwagê na przecinek +$do .= "Kasia <kasia@example.com>"; /* temat */ -$subject = "Birthday Reminders for August"; +$temat = "Przypomnienie o urodzinach w Sierpniu"; /* wiadomo¶æ */ -$message = ' +$wiadomosc = ' <html> <head> - <title>Birthday Reminders for August</title> + <title>Przypomnienie o urodzinach w Sierpniu</title> </head> <body> -<p>Here are the birthdays upcoming in August!</p> +<p>Te urodziny bêdziemy ¶wiêtowaæ w Sierpniu!</p> <table> <tr> - <th>Person</th><th>Day</th><th>Month</th><th>Year</th> + <th>Osoba</th><th>Dzieñ</th><th>Miesi±c</th><th>Rok</th> </tr> <tr> - <td>Joe</td><td>3rd</td><td>August</td><td>1970</td> + <td>Jan</td><td>3.</td><td>Sierpnia</td><td>1970</td> </tr> <tr> - <td>Sally</td><td>17th</td><td>August</td><td>1973</td> + <td>Szymon</td><td>17.</td><td>Sierpnia</td><td>1973</td> </tr> </table> </body> </html> '; -/* Aby wys³aæ e-mail w foramcie HTML, nale¿y ustawiæ nag³ówek Content-type. */ -$headers = "MIME-Version: 1.0\r\n"; -$headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; +/* Aby wys³aæ e-mail w formacie HTML, nale¿y ustawiæ nag³ówek Content-type. */ +$naglowki = "MIME-Version: 1.0\r\n"; +$naglowki .= "Content-type: text/html; charset=iso-8859-1\r\n"; /* dodatkowe nag³ówki */ -$headers .= "From: Birthday Reminder <birthday@example.com>\r\n"; +$naglowki .= "From: Przypominacz o urodzinach <urodziny@example.com>\r\n"; -$headers .= "Cc: birthdayarchive@example.com\r\n"; -$headers .= "Bcc: birthdaycheck@example.com\r\n"; +$naglowki .= "Cc: archiwum_mailingu@example.com\r\n"; +$naglowki .= "Bcc: kontrola_mailingu@example.com\r\n"; /* a teraz wy¶lij */ -mail($to, $subject, $message, $headers); +mail($do, $temat, $wiadomosc, $naglowki); ]]> </programlisting> </example> @@ -189,6 +189,17 @@ gdy¿ w przeciwnym razie, e-mail mo¿e nie byæ wys³any poprawnie. </para> </note> + <note> + <para> + Argument <parameter>do</parameter> nie mo¿e byæ adresem w postaci + &quot;Kto¶tam &lt;someone@example.com&gt;&quot;. Funkcja + <function>mail</function> nie przetworzy prawid³owo takiego adresu w + czasie transakcji z Agentem Transferu Poczty (MTA). + </para> + </note> + <para> + Patrz tak¿e: <function>imap_mail</function>. + </para> </refsect1> </refentry>

« previous php.doc.pl (#65) next »