Node2email is really pretty useless, IMHO. If you want to mail a pointer to a node, or even a node, to yourself, or another person, you know where to find your mailer. Indeed, write a script to do it, if that's not easy enough. We make it rather easy to do that. If you want the raw form of the node, use the xml view, if you want the cooked form, use the print view, and parse it out.
As to your email system, the best way to do it is probably simple email forwarding -- if mail comes to an unknown address @perlmonks.org, check if it's a user. If it is, forward it to the address they've chosen to forward to, if any, or bounce it if none.
However, I don't see the neccisity -- if the monk wants email, they'll put the address on their homenode. Plenty, including me, do. It's just one more thing to load the server, and potentialy be buggy. It's also something that doesn't fit in well with our current paradigm (IE the Everything Engine), as it invoves lots of external scripts and configuration files, not nodes.
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
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.