Help for this page

Select Code to Download


  1. or download this
    select $mailer;
    
  2. or download this
    my $mailer = new Mail::Mailer 'smtp', 'relay.foo.com';
    $mailer->open({
    ...
    print "This is a test message.\n";
    
    $mailer->close;