Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 scrutinizing the Monastery: (11)
As of 2014-12-26 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls