Mail-Make

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        *   25 - plain SMTP (default when "SSL" is false)

        *   465 - SMTPS, direct SSL/TLS (use with "SSL => 1")

        *   587 - submission, usually STARTTLS (use with "StartTLS => 1")

    "SSL"
        Boolean. When true, the connection is wrapped in SSL/TLS from the
        start (SMTPS, typically port 465).

        Requires IO::Socket::SSL.

    "StartTLS"
        Boolean. When true, a plain connection is established first and then
        upgraded to TLS via the SMTP "STARTTLS" extension (typically port
        587).

        Requires IO::Socket::SSL. Ignored when "Host" is a pre-built
        Net::SMTP object.

    "SSL_opts"
        Hash reference of additional options passed to IO::Socket::SSL
        during the SSL/TLS handshake. For example:

            SSL_opts => { SSL_verify_mode => 0 }           # disable peer cert check
            SSL_opts => { SSL_ca_file => '/etc/ssl/ca.pem' }

    "Timeout"
        Connection and command timeout in seconds, passed directly to
        Net::SMTP.

    "To", "Cc", "Bcc"

README.md  view on Meta::CPAN

    SMTP port number. Common values:

    - `25`  - plain SMTP (default when `SSL` is false)
    - `465` - SMTPS, direct SSL/TLS (use with `SSL => 1`)
    - `587` - submission, usually STARTTLS (use with `StartTLS => 1`)

- `SSL`

    Boolean. When true, the connection is wrapped in SSL/TLS from the start (SMTPS, typically port 465).

    Requires [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL).

- `StartTLS`

    Boolean. When true, a plain connection is established first and then upgraded to TLS via the SMTP `STARTTLS` extension (typically port 587).

    Requires [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL). Ignored when `Host` is a pre-built [Net::SMTP](https://metacpan.org/pod/Net%3A%3ASMTP) object.

- `SSL_opts`

    Hash reference of additional options passed to [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL) during the SSL/TLS handshake. For example:

        SSL_opts => { SSL_verify_mode => 0 }           # disable peer cert check
        SSL_opts => { SSL_ca_file => '/etc/ssl/ca.pem' }

- `Timeout`

    Connection and command timeout in seconds, passed directly to [Net::SMTP](https://metacpan.org/pod/Net%3A%3ASMTP).

- `To`, `Cc`, `Bcc`

lib/Mail/Make.pm  view on Meta::CPAN

=item * C<465> - SMTPS, direct SSL/TLS (use with C<< SSL => 1 >>)

=item * C<587> - submission, usually STARTTLS (use with C<< StartTLS => 1 >>)

=back

=item C<SSL>

Boolean. When true, the connection is wrapped in SSL/TLS from the start (SMTPS, typically port 465).

Requires L<IO::Socket::SSL>.

=item C<StartTLS>

Boolean. When true, a plain connection is established first and then upgraded to TLS via the SMTP C<STARTTLS> extension (typically port 587).

Requires L<IO::Socket::SSL>. Ignored when C<Host> is a pre-built L<Net::SMTP> object.

=item C<SSL_opts>

Hash reference of additional options passed to L<IO::Socket::SSL> during the SSL/TLS handshake. For example:

    SSL_opts => { SSL_verify_mode => 0 }           # disable peer cert check
    SSL_opts => { SSL_ca_file => '/etc/ssl/ca.pem' }

=item C<Timeout>

Connection and command timeout in seconds, passed directly to L<Net::SMTP>.

=item C<To>, C<Cc>, C<Bcc>



( run in 2.068 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )