Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 about the Monastery: (4)
As of 2015-07-04 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls