|Perl Monk, Perl Meditation|
Accessing received Thunderbird emailsby gsd4me (Beadle)
|on Aug 06, 2017 at 12:27 UTC||Need Help??|
gsd4me has asked for the
wisdom of the Perl Monks concerning the following question:
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
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