1Email::Sender::TransporUts:e:rSMCToPn(t3r)ibuted Perl DoEcmuamieln:t:aSteinodner::Transport::SMTP(3)
2
3
4

NAME

6       Email::Sender::Transport::SMTP - send email over SMTP
7

VERSION

9       version 2.500
10

DESCRIPTION

12       This transport is used to send email over SMTP, either with or without
13       secure sockets (SSL/TLS).  It is one of the most complex transports
14       available, capable of partial success.
15
16       For a potentially more efficient version of this transport, see
17       Email::Sender::Transport::SMTP::Persistent.
18

PERL VERSION

20       This library should run on perls released even a long time ago.  It
21       should work on any version of perl released in the last five years.
22
23       Although it may work on older versions of perl, no guarantee is made
24       that the minimum required version will not be increased.  The version
25       may be increased for any reason, and there is no promise that patches
26       will be accepted to lower the minimum required perl.
27

ATTRIBUTES

29       The following attributes may be passed to the constructor:
30
31       "hosts": an arrayref of names of the host to try, in order; defaults to
32       a single element array containing "localhost"
33           The attribute "host" may be given, instead, which contains a single
34           hostname.
35
36       "ssl": if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely;
37       if 'maybestarttls', use STARTTLS if available; otherwise, no security
38       "ssl_options": passed to Net::SMTP constructor for 'ssl' connections or
39       to starttls for 'starttls' or 'maybestarttls' connections; should
40       contain extra options for IO::Socket::SSL
41       "port": port to connect to; defaults to 25 for non-SSL, 465 for 'ssl',
42       587 for 'starttls'
43       "timeout": maximum time in secs to wait for server; default is 120
44       "sasl_username": the username to use for auth; optional
45       "sasl_password": the password to use for auth; required if
46       "sasl_username" is provided
47       "allow_partial_success": if true, will send data even if some
48       recipients were rejected; defaults to false
49       "helo": what to say when saying HELO; no default
50       "localaddr": local address from which to connect
51       "localport": local port from which to connect
52       "debug": if true, put the Net::SMTP object in debug mode
53

PARTIAL SUCCESS

55       If "allow_partial_success" was set when creating the transport, the
56       transport may return Email::Sender::Success::Partial objects.  Consult
57       that module's documentation.
58

AUTHOR

60       Ricardo Signes <rjbs@semiotic.systems>
61
63       This software is copyright (c) 2021 by Ricardo Signes.
64
65       This is free software; you can redistribute it and/or modify it under
66       the same terms as the Perl 5 programming language system itself.
67
68
69
70perl v5.34.0                      2022-01-21 Email::Sender::Transport::SMTP(3)
Impressum