cvs: peardoc /en/package/mail/mail send.xml

From: Date: Wed, 26 Apr 2006 04:57:49 +0000
Subject: cvs: peardoc /en/package/mail/mail send.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7823@lists.php.net to get a copy of this message
jon Wed Apr 26 04:57:49 2006 UTC Modified files: /peardoc/en/package/mail/mail send.xml Log: Updating the documentation for the Mail::send() [smtp] error messages to match the strings that the code actually produces. Bug: 6983 http://cvs.php.net/viewcvs.cgi/peardoc/en/package/mail/mail/send.xml?r1=1.10&r2=1.11&diff_format=u Index: peardoc/en/package/mail/mail/send.xml diff -u peardoc/en/package/mail/mail/send.xml:1.10 peardoc/en/package/mail/mail/send.xml:1.11 --- peardoc/en/package/mail/mail/send.xml:1.10 Mon Mar 20 21:12:21 2006 +++ peardoc/en/package/mail/mail/send.xml Wed Apr 26 04:57:49 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry id="package.mail.mail.send"> <refnamediv> <refname>Mail::send()</refname> @@ -88,10 +88,10 @@ <entry> Add a from header: <programlisting role="php"> - $headers['From'] = 'mymail@example.com'; + $headers['From'] = 'mymail@example.com'; </programlisting> </entry> - </row> + </row> <row> <entry>sendmail</entry> <entry>&null;</entry> @@ -107,7 +107,7 @@ <literal>;</literal> or <literal>&amp;</literal> or <literal>`</literal> (backtick) </entry> - </row> + </row> <row> <entry>sendmail</entry> <entry>&null;</entry> @@ -127,7 +127,7 @@ check installation of the mailer. Normally it should includes a sendmail wrapper. </entry> - </row> + </row> <row> <entry>sendmail</entry> <entry>&null;</entry> @@ -141,12 +141,12 @@ <entry> See the documention of your mailer programm. </entry> - </row> + </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to instantiate Net_SMTP object</quote> + <quote>Failed to create a Net_SMTP object</quote> </entry> <entry> Failure in class creation @@ -154,12 +154,12 @@ <entry> Reinstall/update the <classname>Net_SMTP</classname> package. </entry> - </row> + </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to connect to smtp server + <quote>Failed to connect to <parameter>host:port</parameter></quote> </entry> <entry> @@ -171,12 +171,12 @@ in your <link linkend="package.mail.mail.factory"> <function>Mail::factory</function></link> call. </entry> - </row> + </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to authenticate to smtp server</quote> + <quote><parameter>method</parameter> authentication failure</quote> </entry> <entry> Authentication failed @@ -190,40 +190,40 @@ Ensure to use the correct authentication method for the SMTP server. </entry> - </row> + </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to identify smtp server</quote> + <quote>No From: address has been provided</quote> </entry> <entry> - Start request to SMTP server failed + Sending the from address failed </entry> <entry> - Check the RFC-compliances of the SMTP server to connect. + Check the RFC-compliances of the from address and the server + connnectivity. </entry> </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to set sender to <parameter>from</parameter></quote> + <quote>Failed to set sender: <parameter>from</parameter></quote> </entry> <entry> - Sending the from address failed + Setting the sender address failed </entry> <entry> - Check the RFC-compliances of the from address and the server + Check the RFC-compliances of the sender address and the server connnectivity. </entry> - </row> + </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to add recipient - <parameter>recipient</parameter>:<parameter>error code</parameter> + <quote>Failed to add recipient: <parameter>recipient</parameter> </quote> </entry> <entry> @@ -233,12 +233,12 @@ Check the RFC-compliances of the recipient address and the server connnectivity. </entry> - </row> + </row> <row> <entry>smtp</entry> <entry>&null;</entry> <entry> - <quote>unable to send data</quote> + <quote>Failed to send data</quote> </entry> <entry> Body of the mail message could not send @@ -247,7 +247,7 @@ Check the RFC-compliances of the message body and the server connnectivity. </entry> - </row> + </row> </tbody> </tgroup> </table>

« previous php.pear.doc (#7823) next »