-
-
04 Jul 2021 17:28:26 UTC
- Distribution: Email-Sender
- Module version: 2.500
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (20)
- Testers (1867 / 7 / 5)
- Kwalitee
Bus factor: 1- 73.05% Coverage
- License: perl_5
- Perl: v5.12.0
- Activity
24 month- Tools
- Download (51.36KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 18 contributors-
Ricardo Signes
-
Alex Efros
-
Aristotle Pagaltzis
-
Bernhard Graf
-
Christian Walde
-
David Golden
-
David Steinbrunner
-
Hans Dieter Pearcey
-
HIROSE Masaaki
-
James E Keenan
-
Justin Hunter
-
Karen Etheridge
-
Kenichi Ishigaki
-
kga
-
Kris Matthews
-
Marc Bradshaw
-
Stefan Hornburg (Racke)
-
William Blunn
- Dependencies
- Carp
- Email::Abstract
- Email::Address
- Email::Simple
- Fcntl
- File::Basename
- File::Path
- File::Spec
- IO::File
- IO::Handle
- List::Util
- Module::Runtime
- Moo
- Moo::Role
- MooX::Types::MooseLike
- MooX::Types::MooseLike::Base
- Net::SMTP
- Scalar::Util
- Sub::Exporter
- Sub::Exporter::Util
- Sys::Hostname
- Throwable::Error
- Try::Tiny
- strict
- utf8
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Email::Sender::Transport::SMTP - send email over SMTP
VERSION
version 2.500
DESCRIPTION
This transport is used to send email over SMTP, either with or without secure sockets (SSL/TLS). It is one of the most complex transports available, capable of partial success.
For a potentially more efficient version of this transport, see Email::Sender::Transport::SMTP::Persistent.
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.
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.
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
host
may be given, instead, which contains a single hostname. ssl
: if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely; if 'maybestarttls', use STARTTLS if available; otherwise, no securityssl_options
: passed to Net::SMTP constructor for 'ssl' connections or to starttls for 'starttls' or 'maybestarttls' connections; should contain extra options for IO::Socket::SSLport
: port to connect to; defaults to 25 for non-SSL, 465 for 'ssl', 587 for 'starttls'timeout
: maximum time in secs to wait for server; default is 120sasl_username
: the username to use for auth; optionalsasl_password
: the password to use for auth; required ifsasl_username
is providedallow_partial_success
: if true, will send data even if some recipients were rejected; defaults to falsehelo
: what to say when saying HELO; no defaultlocaladdr
: local address from which to connectlocalport
: local port from which to connectdebug
: if true, put the Net::SMTP object 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.AUTHOR
Ricardo Signes <rjbs@semiotic.systems>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 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.
Module Install Instructions
To install Email::Sender, copy and paste the appropriate command in to your terminal.
cpanm Email::Sender
perl -MCPAN -e shell install Email::Sender
For more information on module installation, please visit the detailed CPAN module installation guide.