Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Using MIME::Lite to resend plain text messages (no attachments)

by jlongino (Parson)
on Sep 03, 2002 at 14:45 UTC ( #194782=note: print w/replies, xml ) Need Help??

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;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-06-05 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (40 votes). Check out past polls.

    Notices?