in reply to Re: mail::sender - email header - IPAD
in thread mail::sender - email header - IPAD

Sorry...i didnt get u.
There is a problem but coz i tried all the premutations within multipart and there still seems to be problem. The problem is i cant show u how the issue output looks..one has to try out that on the ipad/iphone itself to see the issue. if any case i am doing anything wrong....do mention coz i really want to get this issue resolved.

Sample code: use Mail::Sender;
$sender = new Mail::Sender;

if (ref $sender->OpenMultipart({
from => 'someone@somewhere.net', to => 'abc@xyz.com',
subject => 'Embedded Image Test',
ctype => "text/html",
boundary => 'boundary-test-1',
encoding => 'base64',
multipart => 'mixed'})) {
$sender->Body({msg => 'Hello World <img src="cid:smile1"
/>'}); $sender->Attach(
{description => 'pdf',
# ctype => 'appledouble',
encoding => 'base64',
disposition => "attachment;
filename=\"AWD.pdf\";", file => '../AWD.pdf'
});
$sender->Attach({
# description => 'ed\'s JPG',
# ctype => 'appledouble',
encoding => 'base64',
disposition => "inline; filename=\"28055.JPG
\";\r\nContent-ID: <smile1>",
file => '../28055.JPG'
}); $sender->Close() or die "Close failed! $Mail::Sender::Error\n";
} else {
die "Cannot send mail: $Mail::Sender::Error\n";
}

This same problem had arised to php either.....heres the link...

http://stackoverflow.com/questions/9564045/phpmailer-email-with-inline-images-and-pdf-attachments
thnks in advance.

  • Comment on Re^2: mail::sender - email header - IPAD

Replies are listed 'Best First'.
Re^3: mail::sender - email header - IPAD
by Anonymous Monk on Apr 18, 2012 at 05:45 UTC

    What some email client (ipad ... ) chooses to display or not display, how it behaves, there is very little you can do to influence that -- there is no problem to be solved from your end

    The stackoverflow thread you linked is different problem from the one you described, but it contains code, even if it is php

    Your post contains no code , and your problem statement is that there is nothing wrong with the email, except some ipad email client doesn't hide attachments -- it doesn't have to hide them

    There is no problem, the email isn't malformed, the client isn't broken, there is no problem, nothing to be fixed, nothing you can do