SYNOPSIS

  use Mail::Mailer;
  use Mail::Mailer qw(mail);    # specifies default mailer

  $mailer = Mail::Mailer->new;
  $mailer = Mail::Mailer->new($type, @args);

  $mailer->open(\%headers);
  print $mailer $body;
  $mailer->close;

DESCRIPTION

Sends mail using any of the built-in methods. As TYPE argument to new(), you can specify any of

Mail::Mailer will search for executables in the above order. The default mailer will be the first one found.

DETAILS

ENVIRONMENT VARIABLES

BUGS

Mail::Mailer does not help with folding, and does not protect against various web-script hacker attacks, for instance where a new-line is inserted in the content of the field.