2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2002-06-08 15:31:23 +00:00
|
|
|
<!-- $Revision: 1.4 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<reference id="ref.mail">
|
|
|
|
<title>Mail functions</title>
|
|
|
|
<titleabbrev>Mail</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<simpara>
|
|
|
|
The <function>mail</function> function allows you to send mail
|
|
|
|
</simpara>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<title>Mail Configuration Directives</title>
|
|
|
|
|
|
|
|
<varlistentry id="ini.smtp">
|
|
|
|
<term>
|
|
|
|
<parameter>SMTP</parameter>
|
|
|
|
<type>string</type>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2002-06-08 15:31:23 +00:00
|
|
|
Used under Windws only: DNS name or IP address of the SMTP server PHP
|
|
|
|
should use for mail sent with the <function>mail</function> function.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ini.smtp-port">
|
|
|
|
<term>
|
|
|
|
<parameter>SMTP</parameter>
|
|
|
|
<type>int</type>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Used under Windws only: Number of the port to connect to the server
|
|
|
|
specified with the <literal>SMTP</literal> setting when sending mail
|
|
|
|
with <function>mail</function>; defaults to 25. Only available since
|
|
|
|
<literal>PHP</literal> 4.3.0.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ini.sendmail-from">
|
|
|
|
<term>
|
|
|
|
<parameter>sendmail_from</parameter>
|
|
|
|
<type>string</type>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Which "From:" mail address should be used in mail sent from
|
|
|
|
PHP under Windows.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ini.sendmail-path">
|
|
|
|
<term>
|
|
|
|
<parameter>sendmail_path</parameter>
|
|
|
|
<type>string</type>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Where the <command>sendmail</command> program can be found,
|
|
|
|
usually <filename>/usr/sbin/sendmail</filename> or
|
|
|
|
<filename>/usr/lib/sendmail</filename>
|
|
|
|
<command>configure</command> does an honest attempt of
|
|
|
|
locating this one for you and set a default, but if it fails,
|
|
|
|
you can set it here.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Systems not using sendmail should set this directive to the
|
|
|
|
sendmail wrapper/replacement their mail system offers, if any.
|
|
|
|
For example, <ulink url="&url.qmail;">Qmail</ulink>
|
|
|
|
users can normally set it to
|
2002-05-27 02:09:00 +00:00
|
|
|
<filename>/var/qmail/bin/sendmail</filename> or <filename>
|
|
|
|
/var/qmail/bin/qmail-inject</filename>.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
<command>qmail-inject</command> does not require any option to
|
|
|
|
process mail correctly.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</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
|
|
|
|
-->
|