chandanperl has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Mail::Sender; $sender = new Mail::Sender ######### MS Exchange SMTP server #################### {smtp => '', from => ''}; $recipients = ""; if (ref $sender->OpenMultipart({ from => '', to => $recipients, subject => 'chandan Embedded Image Test', boundary => 'boundary-test-1', multipart => 'related'})) { ##################### I have to send this part msg as inline ######### +############# $sender ->Attach( {description => 'html body', ctype => 'text/html; charset=us-ascii', #encoding => '7bit', disposition => 'inline', file => 'file2.html', }); ################### I have to send this part msg as Attachment ###### +############### $sender ->Attach( {description => 'html body', ctype => 'text/html; charset=us-ascii', #ctype => 'text/html', #encoding => '7bit', #disposition => 'inline', file => 'auth_sasl.pl', }); $sender->Close() or die "Close failed! $Mail::Sender:: +Error\n"; } else { die "Cannot send mail: $Mail::Sender::Error\n"; } exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: EMail problem in outlook
by james2vegas (Chaplain) on Aug 25, 2009 at 10:30 UTC | |
by james2vegas (Chaplain) on Aug 25, 2009 at 12:15 UTC | |
by chandanperl (Novice) on Aug 25, 2009 at 12:47 UTC | |
by marto (Cardinal) on Aug 25, 2009 at 13:20 UTC | |
by chandanperl (Novice) on Aug 25, 2009 at 14:36 UTC | |
| |
by chandanperl (Novice) on Aug 25, 2009 at 11:43 UTC | |
|
Re: EMail problem in outlook
by Anonymous Monk on Aug 25, 2009 at 10:16 UTC | |
by chandanperl (Novice) on Aug 25, 2009 at 10:27 UTC | |
by james2vegas (Chaplain) on Aug 25, 2009 at 10:35 UTC | |
by chandanperl (Novice) on Aug 25, 2009 at 10:43 UTC | |
|
Re: EMail problem in outlook
by tokpela (Chaplain) on Aug 25, 2009 at 19:44 UTC |