dallas Sat Feb 11 23:56:48 2006 UTC
Modified files: /phpdoc/en/reference/mail ini.xml reference.xml Log: Readded. http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mail/ini.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/mail/ini.xml diff -u /dev/null phpdoc/en/reference/mail/ini.xml:1.11 --- /dev/null Sat Feb 11 23:56:48 2006 +++ phpdoc/en/reference/mail/ini.xml Sat Feb 11 23:56:48 2006 @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="gb2312"?> +<!-- $Revision: 1.11 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> +<section id="mail.configuration"> + &reftitle.runtime; + &extension.runtime; + <para> + <table> + <title>Mail ÅäÖÃÑ¡Ïî</title> + <tgroup cols="4"> + <thead> + <row> + <entry>Ãû³Æ</entry> + <entry>ĬÈÏÖµ</entry> + <entry>¿ÉÐ޸ķ¶Î§</entry> + <entry>¸üмǼ</entry> + </row> + </thead> + <tbody> + <row> + <entry>SMTP</entry> + <entry>"localhost"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>smtp_port</entry> + <entry>"25"</entry> + <entry>PHP_INI_ALL</entry> + <entry>×Ô PHP 4.3.0 Æð¿ÉÓÃ</entry> + </row> + <row> + <entry>sendmail_from</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>sendmail_path</entry> + <entry>NULL</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry></entry> + </row> + </tbody> + </tgroup> + </table> + &ini.php.constants; + </para> + + &ini.descriptions.title; + + <para> + <variablelist> + <varlistentry id="ini.smtp"> + <term> + <parameter>SMTP</parameter> + <type>string</type> + </term> + <listitem> + <para> + ½öÓÃÓÚ Windows£ºPHP ÔÚ <function>mail</function> º¯ÊýÖÐÓÃÀ´·¢ËÍÓʼþµÄ + SMTP ·þÎñÆ÷µÄ DNS Ãû³Æ»òÕß IP µØÖ·¡£ + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.smtp-port"> + <term> + <parameter>smtp_port</parameter> + <type>int</type> + </term> + <listitem> + <para> + ½öÓÃÓÚ Windows£º<literal>SMTP</literal> ·þÎñÆ÷µÄ¶Ë¿ÚºÅ£¬Ä¬ÈÏΪ 25¡£×Ô + PHP 4.3.0 Æð¿ÉÓᣠ+ </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.sendmail-from"> + <term> + <parameter>sendmail_from</parameter> + <type>string</type> + </term> + <listitem> + <para> + ÔÚ Windows ÏÂÓà PHP ·¢ËÍÓʼþʱµÄ "From:" ÓʼþµØÖ·µÄÖµ¡£ + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.sendmail-path"> + <term> + <parameter>sendmail_path</parameter> + <type>string</type> + </term> + <listitem> + <para> + <command>sendmail</command> ³ÌÐòµÄ·¾¶£¬Í¨³£Îª + <filename>/usr/sbin/sendmail</filename> »ò + <filename>/usr/lib/sendmail</filename>¡£<command>configure</command> + ½Å±¾»á³¢ÊÔÕÒµ½¸Ã³ÌÐò²¢É趨ΪĬÈÏÖµ£¬µ«ÊÇÈç¹ûʧ°ÜµÄ»°£¬¿ÉÒÔÔÚÕâÀïÉ趨¡£ + </para> + <para> + ²»Ê¹Óà sendmail µÄϵͳӦ½«´ËÖ¸ÁîÉ趨ΪÆäÓʼþϵͳÌṩµÄ + sendmail Ìæ´ú³ÌÐò£¬Èç¹ûÓеϰ¡£ÀýÈ磬<ulink url="&url.qmail;">Qmail</ulink> + Óû§Í¨³£¿ÉÒÔÉèΪ + <filename>/var/qmail/bin/sendmail</filename> »ò + <filename>/var/qmail/bin/qmail-inject</filename>¡£ + </para> + <para> + <command>qmail-inject</command> ²»ÐèÒªÈκÎÑ¡Ïî¾ÍÄÜÕýÈ·´¦ÀíÓʼþ¡£ + </para> + <para> + ´ËÖ¸ÁîÒ²¿ÉÓÃÓÚ Windows¡£Èç¹ûÉ趨£¬<varname>smtp</varname>£¬<varname>smtp_port</varname> + ºÍ <varname>sendmail_from</varname> ¶¼±»ºöÂÔ²¢ÔËÐÐÖ¸¶¨µÄÃüÁî¡£ + </para> + </listitem> + </varlistentry> + </variablelist> + + </para> +</section> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mail/reference.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/mail/reference.xml diff -u /dev/null phpdoc/en/reference/mail/reference.xml:1.14 --- /dev/null Sat Feb 11 23:56:48 2006 +++ phpdoc/en/reference/mail/reference.xml Sat Feb 11 23:56:48 2006 @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="gb2312"?> +<!-- $Revision: 1.14 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready --> +<!-- Purpose: remote.mail --> +<!-- Membership: core --> + +<reference id="ref.mail"> + <title>Mail Óʼþº¯Êý</title> + <titleabbrev>Mail</titleabbrev> + <partintro> + + <section id="mail.intro"> + &reftitle.intro; + <para> + <function>mail</function> º¯Êý¿ÉÒÔ·¢Ë͵ç×ÓÓʼþ¡£ + </para> + </section> + + <section id="mail.requirements"> + &reftitle.required; + <para> + ҪʹÓʼþº¯Êý¿ÉÓã¬PHP ±ØÐëÔÚ±àÒëʱÄܹ»·ÃÎÊ + <literal>sendmail</literal> ³ÌÐò¡£Èç¹ûʹÓÃÆäËüµÄÓʼþ³ÌÐòÀýÈç qmail + »ò postfix£¬È·±£Ê¹ÓÃÁËÓëÆäÏàÓ¦µÄ sendmail Ìæ´ú³ÌÐò¡£PHP Ê×ÏÈ»áÔÚϵͳµÄ + <literal>PATH</literal> ÖÐËÑË÷ + sendmail£¬½Ó×Ű´ÒÔÏÂ˳ÐòËÑË÷£º<literal>/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib</literal>¡£Ç¿ÁÒ½¨ÒéÔÚ + <literal>PATH</literal> ÖÐÄܹ»ÕÒµ½ sendmail¡£ÁíÍ⣬±àÒë PHP µÄÓû§±ØÐëÄܹ»·ÃÎÊ sendmail ³ÌÐò¡£ + </para> + </section> + + <section id="mail.installation"> + &reftitle.install; + &no.install; + </section> + + &reference.mail.ini; + + <section id="mail.resources"> + &reftitle.resources; + &no.resource; + </section> + + <section id="mail.constants"> + &reftitle.constants; + &no.constants; + </section> + + </partintro> + + &reference.mail.functions; + +</reference> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->