Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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', );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889920]
help
Chatterbox?
[stevieb]: talexb I'm after by a few years, but we can still be friends because you live in my hometown ;)
[LanX]: White House
[LanX]: next inauguration ?
[LanX]: nah ... too many people for a casting show.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-08-18 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (303 votes). Check out past polls.

    Notices?