=pod =head1 NAME Email::Sender::Transport::SMTP - send email over SMTP =head1 VERSION version 0.093380 =head1 DESCRIPTION This transport is used to send email over SMTP, either with or without secure sockets (SSL). It is one of the most complex transports available, capable of partial success. For a potentially more efficient version of this transport, see L. =head1 ATTRIBUTES The following attributes may be passed to the constructor: =over =item host - the name of the host to connect to; defaults to localhost =item ssl - if true, connect via SSL; defaults to false =item port - port to connect to; defaults to 25 for non-SSL, 465 for SSL =item sasl_username - the username to use for auth; optional =item sasl_password - the password to use for auth; must be provided if username is provided =item allow_partial_success - if true, will send data even if some recipients were rejected =item helo - what to say when saying HELO; no default =item localaddr - local address from which to connect =item localpart - local port from which to connect =back =head1 PARTIAL SUCCESS If C was set when creating the transport, the transport may return L objects. Consult that module's documentation. =head1 AUTHOR Ricardo Signes =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2009 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. =cut