Create electronic newsletters and email to all people(including webmail addresses) in an excel spreadsheet

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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)...
  3. #2

    Default 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...
    > 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

  4. #3

    Default 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

  5. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139