<chapter id="sending-email">
<title>Sending emails</title>

<sect1 id="sending-sendmail">
<title>Via Sendmail (default)</title>
<para>
OTRS is able to send out emails via Sendmail (e. g. 
<ulink url="http://www.sendmail.org/">Sendmail</ulink>, 
<ulink url="http://www.postfix.org/">Postfix</ulink>, 
<ulink url="http://www.qmail.org">Qmail</ulink> or
<ulink url="http://www.exim.org">Exim</ulink>). 
The default configuration to use Sendmail should work out of the box. 
</para>
<para>
There are the following config options for Kernel/Config.pm:
<programlisting>
    # SendmailModule
    # (Where is sendmail located and some options.
    # See 'man sendmail' for details.) 
    $Self->{'SendmailModule'} = 'Kernel::System::Email::Sendmail';
    $Self->{'SendmailModule::CMD'} = '/usr/sbin/sendmail -t -i -f ';
</programlisting>
</para>
</sect1>

<sect1 id="sending-smtp">
<title>Via SMTP relay/smarthost (min. OTRS 1.1)</title>
<para>
OTRS is able to send out emails via SMTP (
<ulink url="http://www.ietf.org/rfc/rfc821.txt">Simple Mail Transfer Protocol / RFC 821</ulink>). Mostly used on non unix platforms (e. g. win32).
</para>
<para>
There are the following config options for Kernel/Config.pm:
<programlisting>
    # SendmailModule
    $Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
    $Self->{'SendmailModule::Host'} = 'mail.example.com';
    $Self->{'SendmailModule::AuthUser'} = '';
    $Self->{'SendmailModule::AuthPassword'} = '';
</programlisting>
</para>
</sect1>

</chapter>
