Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
There's more than one way to do things
 
PerlMonks  

MIME::Lite questions

by kleinbiker7 (Sexton)
on Apr 25, 2002 at 17:58 UTC ( #162057=perlquestion: print w/ replies, xml ) Need Help??
kleinbiker7 has asked for the wisdom of the Perl Monks concerning the following question:

I would like to create emails with these headers:

From: Me <webmaster\@www.xx.com>
Subject: The Subject
To: Mini Me <robert\@idi.net>
Reply-to: comments\@xx.com
Errors-to: bounces\@xx.com

Body of email....

It seems that MIME::Lite only supports From: To: and CC: How can I add the Reply-to: and Errors-to: headers using MIME::Lite? Thanks.

Robert

Comment on MIME::Lite questions
Re: MIME::Lite questions
by KM (Priest) on Apr 25, 2002 at 18:02 UTC
    Add stuff to your param list (ones with a hyphen need to be in quotes)

    $msg = MIME::Lite->new(From =>$from, 'Reply-to' =>$reply_to, 'Errors-to' => $errors_to, To =>$to, Cc =>$cc, Bcc =>$bcc, Subject =>$subject, Type =>'TEXT', Encoding =>$transfer_encoding, Data =>$body );

    Cheers,
    KM

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2014-04-23 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (541 votes), past polls