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


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 scrutinizing the Monastery: (5)
As of 2015-07-30 02:06 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 (269 votes), past polls