There are also SMTP modules that you can use on CPAN, in fact doing a Super Search or even just a CPAN search should get you a boat load of stuff
As for being safe...using Taint as mentioned above will ensure your user input is safe (provided you apply the right guidelines when regexing the tainted data) and the security implications on SENDING mail are not that great...you may be inadvertantly doing things to the mail server, but your machine should be relatively ok sending mail.
Now that is only a simple view of it, if anonymous people are going to be using your mailer things can get a little more tricky, especially if it is a part of your web site. One of the warnings you probably saw was about FormMail.pl, a Super Search on that will show you many nodes about why earlier (and current for all I know) versions of that script were insecure.
Have a look around at some of those nodes and I'm sure enlightenment will follow.
"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!
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.