I second that. Need to send mail with attachments?
MIME::Lite. It's an automatism with me.
Update: As you don't have to construct a MIME message, but only have to resend the mail to another address, that doesn't really apply to this case, does it? OK, second choice: Net::SMTP. As somebody else already wrote: you don't have to alter anything in the message, not even the To: header. SMTP doesn't parse the message, either. The recipients are set using the to() method, the message itself, headers and body, can be sent using data().
You do need a live connection to an SMTP server, and it requires you to set some custom values, such as the server, your own domain, and so on. Most servers don't accept mail just from anybody or to anybody, so it could be tricky to get it to work. And it might pose some restrictions on the acceptable email address format.
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.