Ask a Question related to PERL Modules, Design and Development.
-
DB Coordinator for CS #1
Create electronic newsletters and email to all people(including webmail addresses) in an excel spreadsheet
Hi Guys
We are using Windows platform and Active perl in our organisation. We
want to create electronic newsletters(which embed images/html as well) and
want to
mailout all the people whose email addresses are in an excel
spreadsheet.
Can you give some advice about what modules/items we should use in
Active perl to create/mailout electronic newsletters?.Are there any
particular way to do this in Active perl?.
What modules/sections of Active perl we should need?. I used MIME::Lite
module but it
only worked for Outlook/Outlook Express. In Webmail interface it attached
the html
and images as files rather than displaying in the message body. Can you give
some
reference or help to achieve this in web mail as well?
Thank you
Jo
DB Coordinator for CS Guest
-
HTML email newsletters
well i dont know how many people use Contribute to do newsletters, but as long as they are web pages on your server and contribute can access your... -
HTML email newsletters
well i dont know how many people use Contribute to do newsletters, but as long as they are web pages on your server and contribute can access your... -
email newsletters
How do you email a newsletter like the one sent by macromedia.com? I've tried several ways but nothing has worked, so far. Do I need a special... -
Create electronic newsletters and email to all people in an excel spreadsheet
Hi Guys We are using Windows platform and active perl in our organisation. We want to create electronic newsletters(which embed images as well)... -
DB Coordinator for CS #2
Re: Create electronic newsletters and email to all people(including webmail addresses) in an excel spreadsheet
Hi there
I wrote the following code. Works well in Outlook/Outlook Express but not in
web mails. In web mail the html part and the corresponding image were
attached as attachments. How can we display the html/images (inside message
body) in web mails(browser based interface)?
my $from_address = 'perl.guide@about.com';
my $to_address = 'perl.guide@about.com';
my $subject = 'MIME test: HTML with image';
my $mime_type = 'multipart/related';
# Create the message headers
my $mime_msg = MIME::Lite->new(
From => $from_address,
To => $to_address,
Subject => $subject,
Type => $mime_type
)
or die "Error creating MIME body: $!\n";
# Attach the HTML content
my $message_body = '<body><H3>Hello world!
<img src="cid:rainbow_image"></H3></body>';
$mime_msg->attach(Type => 'text/html',
Data => $message_body);
# Attach the image
$mime_msg->attach(
Type => 'image/gif',
Id => 'rainbow_image',
Encoding => 'base64',
Path => 'rainbow.gif');
Cheers
Jo
"DB Coordinator for CS" <janehumbrey@hotmail.com> wrote in message
news:5S_Xa.107135$JA5.2365894@news.xtra.co.nz...give> Hi Guys
>
> We are using Windows platform and Active perl in our organisation. We
> want to create electronic newsletters(which embed images/html as well) and
> want to
> mailout all the people whose email addresses are in an excel
> spreadsheet.
>
> Can you give some advice about what modules/items we should use in
> Active perl to create/mailout electronic newsletters?.Are there any
> particular way to do this in Active perl?.
> What modules/sections of Active perl we should need?. I used MIME::Lite
> module but it
> only worked for Outlook/Outlook Express. In Webmail interface it attached
> the html
> and images as files rather than displaying in the message body. Can you> some
> reference or help to achieve this in web mail as well?
>
> Thank you
> Jo
>
>
DB Coordinator for CS Guest
-
Jane Humbrey #3
Create electronic newsletters and email to all people(including webmail addresses) in an excel spreadsheet
Hi Guys
We are using Windows platform and Active perl in our organisation. We
want to create electronic newsletters(which embed images/html as well) and
want to mailout all the people whose email addresses are in an excel
spreadsheet.
Can you give some advice about what modules/items we should use in
Active perl to create/mailout electronic newsletters?.Are there any
particular way to do this in Active perl?.
What modules/sections of Active perl we should need?. I used MIME::Lite
module but it only worked for Outlook/Outlook Express. In Webmail interface
it attached
the html and images as files rather than displaying in the message body. Can
you give
some reference or help to achieve this in web mail as well?
Thank you
Jo
Jane Humbrey Guest
-
Jane Humbrey #4
Create electronic newsletters and email to all people(including webmail addresses) in an excel spreadsheet
Hi there
I wrote the following code. Works well in Outlook/Outlook Express but not in
web mails. In web mail the html part and the corresponding image were
attached as attachments. How can we display the html/images (inside message
body) in web mails(browser based interface)?
my $from_address = 'perl.guide@about.com';
my $to_address = 'perl.guide@about.com';
my $subject = 'MIME test: HTML with image';
my $mime_type = 'multipart/related';
# Create the message headers
my $mime_msg = MIME::Lite->new(
From => $from_address,
To => $to_address,
Subject => $subject,
Type => $mime_type
)
or die "Error creating MIME body: $!\n";
# Attach the HTML content
my $message_body = '<body><H3>Hello world!
<img src="cid:rainbow_image"></H3></body>';
$mime_msg->attach(Type => 'text/html',
Data => $message_body);
# Attach the image
$mime_msg->attach(
Type => 'image/gif',
Id => 'rainbow_image',
Encoding => 'base64',
Path => 'rainbow.gif');
Cheers
Jo
Jane Humbrey Guest



Reply With Quote

