Skip Menu |

This queue is for tickets about the Email-Send-SMTP-Gmail CPAN distribution.

Report information
The Basics
Id: 113301
Status: resolved
Priority: 0/
Queue: Email-Send-SMTP-Gmail

People
Owner: Nobody in particular
Requestors: paolosaudin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Email with embeeded image
Date: Thu, 24 Mar 2016 07:47:12 +0100
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: Paolo Saudin <paolosaudin [...] gmail.com>
Dear Sirs, I am trying to send an email with an embeeded image with the following code, all works fine but in the gmail web client i get an attachment "noname.txt" with zero byte size. $mail->send( -from => $mailcnf->{mail_from}, -to => $mailcnf->{to}, -subject => $mailcnf->{subject}, -verbose => '1', -body => $body, -contenttype => 'text/html', -disposition => 'inline', -attachments => 'myimage.jpg' ); and in the html: <p><img src='cid:myimage.jpg' width='41' height='38'></p> Is there anythink I am doing wrong ? Thanks, Paolo Saudin
Hello, Thanks for your reporting. During today I'm going to upload a new release (1.01) that should fix your issue! Whenever possible, please let me know the results. Regards, Peco On Thu Mar 24 02:47:51 2016, paolosaudin@gmail.com wrote: Show quoted text
> Dear Sirs, > I am trying to send an email with an embeeded image with the following > code, all works fine but in the gmail web client i get an attachment > "noname.txt" with zero byte size. > > > $mail->send( > -from => $mailcnf->{mail_from}, > -to => $mailcnf->{to}, > -subject => $mailcnf->{subject}, > -verbose => '1', > -body => $body, > -contenttype => 'text/html', > -disposition => 'inline', > -attachments => 'myimage.jpg' > ); > > > and in the html: > > <p><img src='cid:myimage.jpg' width='41' height='38'></p> > > > Is there anythink I am doing wrong ? > > > Thanks, > Paolo Saudin
Subject: Re: [rt.cpan.org #113301] Email with embeeded image
Date: Thu, 24 Mar 2016 13:12:49 +0100
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: Paolo Saudin <paolosaudin [...] gmail.com>
Hi Peco, it works like a charm, Thank you very much!! Paolo 2016-03-24 11:11 GMT+01:00 Juan Jose San Martin via RT < bug-Email-Send-SMTP-Gmail@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=113301 > > > Hello, > > Thanks for your reporting. > > During today I'm going to upload a new release (1.01) that should fix your > issue! > > Whenever possible, please let me know the results. > > Regards, > Peco > > On Thu Mar 24 02:47:51 2016, paolosaudin@gmail.com wrote:
> > Dear Sirs, > > I am trying to send an email with an embeeded image with the following > > code, all works fine but in the gmail web client i get an attachment > > "noname.txt" with zero byte size. > > > > > > $mail->send( > > -from => $mailcnf->{mail_from}, > > -to => $mailcnf->{to}, > > -subject => $mailcnf->{subject}, > > -verbose => '1', > > -body => $body, > > -contenttype => 'text/html', > > -disposition => 'inline', > > -attachments => 'myimage.jpg' > > ); > > > > > > and in the html: > > > > <p><img src='cid:myimage.jpg' width='41' height='38'></p> > > > > > > Is there anythink I am doing wrong ? > > > > > > Thanks, > > Paolo Saudin
> > > >
Resolved!