Help for this page

Select Code to Download


  1. or download this
    use Mail::Sender;
     $sender = new Mail::Sender
    ...
      subject => 'Here is the file',
      msg => "I'm sending you the list you wanted.",
      file => 'filename.txt'});
    
  2. or download this
    MailMsg([from [, replyto [, to [, smtp [, subject [, headers]]]]]], me
    +ssage)
    MailMsg({[from => "somebody@somewhere.com"]
              [, to => "else@nowhere.com"] [...], msg => "Message"})