Mail::Salsa::Sendmail - Perl extension for blah blah blah


Mail-Salsa documentation  | view source Contained in the Mail-Salsa distribution.

Index


NAME

Top

Mail::Salsa::Sendmail - Perl extension for blah blah blah

SYNOPSIS

Top

  use Mail::Salsa::Sendmail;

  my $sm = Mail::Salsa::Sendmail->new(
    'smtp_server' => ["localhost"],
    'smtp_port'   => 25,
    'timeout'     => 120,
  );
  $sm->helo();
  $sm->mail_from("salsa\@aesbuc.pt");
  $sm->rcpt_to(
    'list_file' => "/usr/local/salsa/lists/mylist.txt",
    'addresses' => ["hdias\@aesbuc.pt"]
  );
  $sm->data(sub {
    my $handle = shift;
    print $handle "Hello!\n";
  });
  $sm->quit();

  * In one step

  my $sm = Mail::Salsa::Sendmail->new(
    'smtp_server' => ["localhost"],
    'smtp_port'   => 25,
    'timeout'     => 120,
  );
  $sm->everything(
    'mail_from' => "$name\-return\@$domain",
    'rcpt_to'   => ["hdias\@aesbuc.pt"],
    'list_file' => $listfile,
    'data'      => sub { my $handle = shift; print $handle "Hello!\n"; }
  );

DESCRIPTION

Top

Stub documentation for Mail::Salsa, created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited.

Blah blah blah.

telnet 192.168.0.1 25 HELO mysmtp.server.org MAIL FROM: hdias@aesbuc.pt RCPT TO: test@aesbuc.pt DATA test . QUIT

EXPORT

None by default.

SEE ALSO

Top

Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.

If you have a mailing list set up for your module, mention it here.

If you have a web site set up for your module, mention it here.

AUTHOR

Top

Henrique M. Ribeiro Dias, <hdias@aesbuc.pt>

COPYRIGHT AND LICENSE

Top


Mail-Salsa documentation  | view source Contained in the Mail-Salsa distribution.