Dear all

This may be straightforward, but finding the answer sure isn't!

A Perl script residing on my website builds data into an email and sends it to me in a pre-formatted way - so:

field 1:item 1

field 2:item 2

etc

My Thunderbird email program receives the emails as and when they are sent, downloaded from the server running my system, and filters put them into the relevant email folders based on various fields in the email "from", "subject", etc.

What I currently do is every now and again (nothing here is time-related) open up the emails individually, cut and paste the data into a workbook file that holds all the received data and then run a secondary Perl script to analyse this workbook data to get the output that I need

SO I want to cut out the phase of "open workbook, open each email, cut and paste data, close each email, close workbook, run secondary Perl script" and I was hoping that there would be an easy Perl way of altering the secondary Perl script to simply access the internal details of these emails on my PC, so the source of the data is simply a different place from the workbook holding the data.

All the examples that I have found so far using web searches talk about more complex server-based activities than I want.

Any suggestions for a relevant Perl package?

Many thanks

In reply to Accessing received Thunderbird emails by gsd4me

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.