Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Sending mail via perl including inline images to gmail/yahoo

by zentara (Archbishop)
on Oct 07, 2011 at 16:16 UTC ( #930210=note: print w/ replies, xml ) Need Help??


in reply to Sending mail via perl including inline images to gmail/yahoo

I tested your code, and it "seemed" to work with Claws-mail. I did have to add base64 to your attachment list options. The image displayed inline, but it didn't have the cid:...... text identifier box above it, it acted like a regular attachment.

$msg->attach(Type => 'image/jpeg', Id => 'twitter-white.jpg', Path => 'twitter-white.jpg', Encoding => 'base64', );

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh


Comment on Re: Sending mail via perl including inline images to gmail/yahoo
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls