[Data-Mongers] Extracting email attachments (from Iridium SMS)

Nan Galbraith ngalbraith at whoi.edu
Mon Mar 21 17:22:01 EDT 2011


I do this for Iridium SBD messaging, where the payload's
also in an attachment. I use Python, it's much cleaner
than using Perl; once you get into attachments, the
Perl IMAP module falls apart (or did, when I was writing
this; it may have been fixed by now).

I can send you the code in the morning if you'd like it.

Nan

On 3/21/11 4:44 PM, Michael Eder wrote:
> We are using an Iridium SMS and need to extract the attachment (message) from the email that will come into a dedicated WHOI email account.  Anyone done this before and have the software to do it?
>
> Thanks
>
> Michael Eder
>
> -----Original Message-----
> From: Eric Cunningham [mailto:eric at whoi.edu]
> Sent: Monday, March 21, 2011 4:00 PM
> To: Michael Eder
> Subject: Extracting email attachments
>
> Hi Mike, thanks for your voice mail.  A lot of folks around here at one time or another have saved email attachments containing data for later processing, usually via a perl script.  The process includes connecting to the mail server, logging in as the user, retrieving the email and parsing data therein.  I haven't done this myself but I know it's been done frequently.  You might want to start by posting an email to data-mongers at whoi.edu.  This is a mailing list of 50-60 Woods Hole folks (mostly WHOI, some local USGS&  NOAA),  who've done this sort of thing or are interested in doing it.  I'd be surprised if someone didn't have a script they'd be willing to send you to get you started.  Or if you prefer, I can try to put you in touch with someone here in CIS who may be able to set up something for you as a programming job.
>
>
>
> _______________________________________________
> Data-Mongers maillist  -  Data-Mongers at whoi.edu
> http://mailman.whoi.edu/mailman/listinfo/data-mongers
>



More information about the Data-Mongers mailing list