I need this for my University project. I'm writing a "News Letter Manager" web application in Perl.
I have a list of emails (obviously), and basically all emails are different (as emails can be customised to include persons name or any other data you have on that person). So for instance BCC: field wouldn't work in that case.
Is there anything that I could (re)use? Some CPAN module of which I'm unaware or some other method?
At this time, I put two options in the application for sending emails. One is sendmail, and the other is Net::SMTP. All emails are created by MIME::Lite in one loop which iterates through the list of emails - where I just put a $msg->send(); BTW. $msg is MIME::Lite object/instance. I could just call the (your solution) instead of it. But if that would be to slow - I could, say pre-create them and put them in some temp. storage (file(s), DB, whatever) as plain string output of MIME::Lite.
Any other idea is greatly appreciated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.