Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: MIME::Lite::TT::HTML Sending attachments as blank

by opensourcer (Monk)
on Feb 24, 2011 at 07:08 UTC ( #889920=note: print w/ replies, xml ) Need Help??


in reply to Re^3: MIME::Lite::TT::HTML Sending attachments as blank
in thread MIME::Lite::TT::HTML Sending attachments as blank

The problem occurred due to missing of file name in Path attribute for attachments
see below.

$msg->attach( Type => 'application/msword', Path => '/path/some.doc',#<absolute path+filename>, if +you miss out some.doc then attachment goes as blank Filename => 'some.doc', # filename Disposition => 'attachment', Encoding =>'base64', );


Comment on Re^4: MIME::Lite::TT::HTML Sending attachments as blank
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-09-17 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (70 votes), past polls