mirror of
https://github.com/php/doc-it.git
synced 2026-04-27 01:08:21 +02:00
3a68a8e18b
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@96824 c90b9560-bf6c-de11-be94-00142212c4b1
142 lines
3.7 KiB
XML
142 lines
3.7 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready -->
|
|
<section id="mail.configuration">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>Opzioni di configurazione Mail</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Nome</entry>
|
|
<entry>Predefinito</entry>
|
|
<entry>Modificabile in</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>SMTP</entry>
|
|
<entry>"localhost"</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
</row>
|
|
<row>
|
|
<entry>smtp_port</entry>
|
|
<entry>"25"</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
</row>
|
|
<row>
|
|
<entry>sendmail_from</entry>
|
|
<entry>NULL</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
</row>
|
|
<row>
|
|
<entry>sendmail_path</entry>
|
|
<entry>DEFAULT_SENDMAIL_PATH</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
Per ulteriori dettagli e per la definizione delle costanti
|
|
PHP_INI_* fare riferimento a <function>ini_set</function>.
|
|
</para>
|
|
<para>
|
|
Di seguito una breve descrizione delle direttive di configurazione.
|
|
<variablelist>
|
|
<varlistentry id="ini.smtp">
|
|
<term>
|
|
<parameter>SMTP</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Usato solo sotto Windows: Nome DNS o indirizzo IP del server SMTP che PHP
|
|
deve usare per spedire posta elettronica con la funzione <function>mail</function>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="ini.smtp-port">
|
|
<term>
|
|
<parameter>SMTP</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Usato solo sotto Windows: Numero della porta del server specificato da
|
|
<literal>SMTP</literal> al quale connettersi quando si inviano email
|
|
usando <function>mail</function>; il valore predefinito è 25. Disponibile
|
|
solo a partire da <literal>PHP</literal> 4.3.0.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="ini.sendmail-from">
|
|
<term>
|
|
<parameter>sendmail_from</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Quale campo "From:" devono avere i messaggi inviati da
|
|
PHP sotto Windows.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="ini.sendmail-path">
|
|
<term>
|
|
<parameter>sendmail_path</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Dove trovare il programma <command>sendmail</command>,
|
|
solitamente <filename>/usr/sbin/sendmail</filename> oppure
|
|
<filename>/usr/lib/sendmail</filename>.
|
|
<command>configure</command> cerca di trovare il file
|
|
e lo imposta di default, ma se non riesce a localizzarlo,
|
|
lo si può impostare qui.
|
|
</para>
|
|
<para>
|
|
I sistemi che non usano sendmail devono impostare questa direttiva
|
|
al wrapper che i rispettivi sistemi di posta offrono, se esistenti.
|
|
Per esempio, gli utenti di <ulink url="&url.qmail;">Qmail</ulink>
|
|
possono normalmente impostarla a
|
|
<filename>/var/qmail/bin/sendmail</filename> o <filename>
|
|
/var/qmail/bin/qmail-inject</filename>.
|
|
</para>
|
|
<para>
|
|
<command>qmail-inject</command> non necessita di nessuna opzione
|
|
al fine di processare correttamente la mail.
|
|
</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
|
|
-->
|
|
|