Help for this page

Select Code to Download


  1. or download this
    my $mailer = new Mail::Mailer 'smtp', Server => 'localhost' or die "Co
    +uldn't create a mail object!\n";
    
    ...
    $mailer->print($mailContents); #$mailContents - Contains the file cont
    +ents with new lines.
    
    $mailer->close();