Fix minor spelling/punctuation mistakes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179739 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Aidan Lister 2005-02-14 03:37:34 +00:00
parent ac069c014c
commit 936a27baa5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.30 $ -->
<!-- $Revision: 1.31 $ -->
<refentry id="function.mail">
<refnamediv>
<refname>mail</refname>
@ -71,7 +71,7 @@
<para>
(Windows only) When PHP is talking to a SMTP server directly, if a full
stop is found on the start of a line, it is removed. To counter-act this,
replace these occurences with a double dot.
replace these occurrences with a double dot.
<programlisting role="php">
<![CDATA[
<?php
@ -95,8 +95,8 @@ $text = str_replace("\n.", "\n..", $text);
<note>
<para>
If messages are not received, try using a LF (\n) only.
Some poor quality Unix mail transfer agents replace \n by \r\n
automatically (which leads to doubling \r if \r\n is used).
Some poor quality Unix mail transfer agents replace LF by CRLF
automatically (which leads to doubling CR if CRLF is used).
This should be a last resort, as it does not comply with
<ulink url="&url.rfc;2822">RFC 2822</ulink>.
</para>
@ -118,7 +118,7 @@ $text = str_replace("\n.", "\n..", $text);
<para>
The user that the webserver runs as should be added as a trusted user to the
sendmail configuration to prevent a 'X-Warning' header from being added
to the message when you set the envelope sender (-f) using this method.
to the message when the envelope sender (-f) is set using this method.
For sendmail users, this file is <filename>/etc/mail/trusted-users</filename>.
</para>
</listitem>
@ -359,7 +359,7 @@ mail($to, $subject, $message, $headers);
<note>
<para>
The following RFC's may be useful:
The following RFCs may be useful:
<ulink url="&url.rfc;1896">RFC 1896</ulink>,
<ulink url="&url.rfc;2045">RFC 2045</ulink>,
<ulink url="&url.rfc;2046">RFC 2046</ulink>,