Email::...t::SMTP(3)
π NAME π
This is the Email::...t::SMTP(3) manual page β yep, the title got squished, but she's real β and it's User Contributed Perl Documentation. The module is Email::Sender::Transport::SMTP, and the whole gig is: send email over SMTP. That's the name line, bestie. π«Ά
β¨ VERSION β¨
version 2.601 β periodt.
πΈ DESCRIPTION πΈ
okay so this transport is for sending email over SMTP, either with or without secure sockets (SSL/TLS). She is one of the most complex transports available and is capable of partial success β not me describing a group project, it's literally in the docs. π
For a potentially more efficient version of this transport, see Email::Sender::Transport::SMTP::Persistent. Obsessed with options, honestly.
π PERL VERSION π
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years. No cap.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. So don't come for her with "but my ancient perl" β the docs said what they said. π
π ATTRIBUTES π
The following attributes may be passed to the constructor:
hostsβ an arrayref of names of the host to try, in order; defaults to a single element array containinglocalhost.- The attribute
hostmay be given, instead, which contains a single hostname.
- The attribute
sslβ if'starttls', use STARTTLS; if'ssl'(or1), connect securely; if'maybestarttls', use STARTTLS if available; otherwise, no security.ssl_optionsβ passed to theNet::SMTPconstructor for'ssl'connections or tostarttlsfor'starttls'or'maybestarttls'connections; should contain extra options forIO::Socket::SSL.portβ port to connect to; defaults to25for non-SSL,465for'ssl',587for'starttls'.timeoutβ maximum time in secs to wait for server; default is120.sasl_usernameβ the username to use for auth; optional.sasl_passwordβ the password to use for auth; required ifsasl_usernameis provided.sasl_authenticatorβ anAuthen::SASLinstance to use for auth; optional.- The
sasl_authenticatorandsasl_usernameattributes are mutually exclusive.
- The
allow_partial_successβ if true, will send data even if some recipients were rejected; defaults tofalse.heloβ what to say when saying HELO; no default.localaddrβ local address from which to connect.localportβ local port from which to connect.debugβ if true, put theNet::SMTPobject in debug mode.
π PARTIAL SUCCESS π
If allow_partial_success was set when creating the transport, the transport may return Email::Sender::Success::Partial objects. Consult that module's documentation. It's giving some of the recipients said yes and some said no, and she's still gonna tell you about it energy. π¦
π AUTHOR π
Ricardo Signes <cpan@semiotic.systems>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
byeee π«Ά β this page is from perl v5.42.0, dated 2024-01-18, and the manual name is Email::...t::SMTP(3). slay. π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Email-Sender 2.601.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms