Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

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: (8)
As of 2016-06-26 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.