1Email::Sender::TransporUts:e:rSMCToPn(t3r)ibuted Perl DoEcmuamieln:t:aSteinodner::Transport::SMTP(3)
2
3
4
6 Email::Sender::Transport::SMTP - send email over SMTP
7
9 version 1.300031
10
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
20 The following attributes may be passed to the constructor:
21
22 "host": the name of the host to connect to; defaults to "localhost"
23 "ssl": if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely;
24 otherwise, no security
25 "ssl_options": passed to Net::SMTP constructor for 'ssl' connections or
26 to starttls for 'starttls' connections; should contain extra options
27 for IO::Socket::SSL
28 "port": port to connect to; defaults to 25 for non-SSL, 465 for 'ssl',
29 587 for 'starttls'
30 "timeout": maximum time in secs to wait for server; default is 120
31 "sasl_username": the username to use for auth; optional
32 "sasl_password": the password to use for auth; required if "username"
33 is provided
34 "allow_partial_success": if true, will send data even if some
35 recipients were rejected; defaults to false
36 "helo": what to say when saying HELO; no default
37 "localaddr": local address from which to connect
38 "localport": local port from which to connect
39 "debug": if true, put the Net::SMTP object in debug mode
40
42 If "allow_partial_success" was set when creating the transport, the
43 transport may return Email::Sender::Success::Partial objects. Consult
44 that module's documentation.
45
47 Ricardo Signes <rjbs@cpan.org>
48
50 This software is copyright (c) 2017 by Ricardo Signes.
51
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.28.0 2017-04-04 Email::Sender::Transport::SMTP(3)