Hello,

Typically email attachments are added to the text of a mail message
just as you are seeing in the mail browser.  To extract files from
this data you must parse it from the message text.  The protocol for
how this info is encoded is called MIME.

Documents called RFCs define this protocol.  These RFCs can be
retrieved from http://www.ietf.org/rfc.html.  The RFCs corresponding
to MIME are 1521, 1522, 1524, 1563, 1437, 1652, 1651, 1556, 1740, and
1741.

Another option is to look at the =93SMTP Email Send File=94 VI included
with LabVIEW 7.0.  This VI encodes a file into MIME to transmit via
SMTP.  You could look at this code to try and reverse engineer it to
decode MIME.

Hope this helps!  Let me know if I can help with or clarify anything.

Ken S.
National Instruments

Reply via email to