I wrote the following code:

MIME::Lite->send('smtp', "mail.myserver.com", Timeout=>60);

 $msg = MIME::Lite->new(
                     From     =>"[EMAIL PROTECTED]",
                     To       =>'[EMAIL PROTECTED]',                    
                     Subject  =>"TEST",
                     Data     =>"TEST",
                     
                     );
                     
                      $msg->send;


I want to have a display name present in the "From" field. In other
words, I would like the 'From' field to read:  

Reporting Agent <[EMAIL PROTECTED]>

I can't seem to do this no matter what I try. Can I do this with
MIME::Lite?

--Paul

Reply via email to