Help for this page

Select Code to Download


  1. or download this
    close MSG;
    
  2. or download this
    open (MSG, ">>mailmessage") or die "File open failed: $!\n";
    
  3. or download this
    /tmp/mailparser.pl < mail.message.file
    
  4. or download this
    #/etc/aliases entry
    
    ...
    ## entry to be updated.
    
    original: \original, "|/tmp/mailparser.pl"
    
  5. or download this
    ##
    #  MboxParser stuff here
    ...
          Data => $body_str;
    MIME::Lite->send('smtp', "some.smtp.net", Timeout=>60);
    $msg->send;