Can Perl read the body of an incoming email and then determine where to forward the email? An example would be - I have family on both sides (mom's family and dad's family). These 2 families will be the groups with a list of emails that may change from time to time. An email comes in one email address - myfamily@family.com Perl needs to read the body of the email IF the body has 'mom's family' in the text it will forward that to mom's family group. Which in turn shoots out to all the emails in that group. This is just an example, but it would have SEVERAL words and SEVERAL groups that would determine where to forward to. Thanks, Adam

In reply to Can Perl read the body of an email to determine where to forward that email? by merefolk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.