Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Problems with MIME::Lite Attachements

by BaldPenguin (Friar)
on Aug 11, 2005 at 13:40 UTC ( [id://483054]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Problems with MIME::Lite Attachements

Answering my own question, the error was actualy indicating that the primary message was blank. In error I tried to attach to attachments to a blank message.
my $msg = MIME::Lite->new( 'From' => $param{'from'}, 'To' => $param{'email'}, 'Subject' => 'Your Report - '.$param{'startdate'}.' to '.$param{'e +nddate'}, 'Type' => 'mulitpart/mixed', 'Data' => 'Here is the Report requested for dates '.$param{'startdate'}. +' to '.$param{'enddate'}, );
Changing the initial instantiation to the above fixed the error!

Don
WHITEPAGES.COM | INC
Everything I've learned in life can be summed up in a small perl script!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://483054]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.