Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

msg2smtp(1) [debian man page]

MSG2SMTP(1)						      General Commands Manual						       MSG2SMTP(1)

NAME
msg2smtp - a 'bridge' between MUA and GNU Anubis SYNOPSIS
msg2smtp -h HOST [-p PORT] [-e HELO_DOMAIN] [-U USERNAME] [-P PASSWORD] [-m MECHANISM] [-d] DESCRIPTION
This manual page documents briefly the msg2smtp command. msg2smtp is a program that takes a mail message on STDIN and relays it to an SMTP server. MUA (Mutt) --> msg2smtp.pl --> Anubis --> remote or local MTA This can be used whenever you want to convert a mail message on STDIN and talk to an SMTP server as output. Just like sendmail do. If you want to use this script with Mutt, add this to Mutt configuration file: set sendmail="/PATHTO/msg2smtp.pl -h localhost" If you run GNU Anubis on port 4000, you would put this line in your muttrc: set sendmail="/PATHTO/msg2smtp.pl -h localhost -p 4000" OPTIONS
A summary of options is included below: -h HOST hostname of SMTP server, often 'localhost', -p PORT port of the SMTP server, -e HELO_DOMAIN domain we use when to say helo to smtp server, -U USERNAME ESMTP auth username, -P PASSWORD ESMTP auth password, -m MECHANISM ESMTP auth mechanism - default is PLAIN, -d shows SMTP conversation and perl debugging. SEE ALSO
anubis(1), sendmail(1), mutt(1). AUTHOR
msg2smtp was written by Michael de Beer <michael@debeer.org>. This manual page was written by Krzysztof Burghardt <krzysztof@burghardt.pl>, for the Debian project (but may be used by others). 2007 Aug 26 MSG2SMTP(1)

Check Out this Related Man Page

Email::Sender::Transport::SMTP::TLS(3pm)		User Contributed Perl Documentation		  Email::Sender::Transport::SMTP::TLS(3pm)

NAME
Email::Sender::Transport::SMTP::TLS - Email::Sender with Net::SMTP::TLS (Eg. Gmail) VERSION
version 0.10 SYNOPSIS
use Email::Sender::Simple qw(sendmail); use Email::Sender::Transport::SMTP::TLS; use Try::Tiny; my $transport = Email::Sender::Transport::SMTP::TLS->new( host => 'smtp.gmail.com', port => 587, username => 'username@gmail.com', password => 'password', helo => 'fayland.org', ); # my $message = Mail::Message->read($rfc822) # || Email::Simple->new($rfc822) # || Mail::Internet->new([split / /, $rfc822]) # || ... # || $rfc822; # read L<Email::Abstract> for more details use Email::Simple::Creator; # or other Email:: my $message = Email::Simple->create( header => [ From => 'username@gmail.com', To => 'to@mail.com', Subject => 'Subject title', ], body => 'Content.', ); try { sendmail($message, { transport => $transport }); } catch { die "Error sending email: $_"; }; DESCRIPTION
Email::Sender replaces the old and sometimes problematic Email::Send library, while this module replaces the Email::Send::SMTP::TLS. It is still alpha, but it works. use it at your own risk! ATTRIBUTES The following attributes may be passed to the constructor: host - the name of the host to connect to; defaults to localhost port - port to connect to; defaults to 587 username - the username to use for auth; required password - the password to use for auth; required helo - what to say when saying HELO; no default allow_partial_success - if true, will send data even if some recipients were rejected 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
Fayland Lam <fayland@gmail.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Fayland Lam. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-25 Email::Sender::Transport::SMTP::TLS(3pm)
Man Page