Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do you read nested attachments in emails or parse .eml files?

New Here ,
May 08, 2010 May 08, 2010

Hi there

1. I have .eml files on my disk which I am looking to parse for the attachments using CF.  I am able to read the files as text, but I am actually trying to devise a technique of getting hold of the attachments, which may be .eml, doc, jpg and anything else.  CFIMAP and other email/communication tags do not seem to allow me to do this.

2. Alternately, is there a way to get hold of an attachment (say a Word file) which is within an email attachment of an email (you might call it a nested attachment).

Any assistance would be appreciated.

Regards

Boon

TOPICS
Advanced techniques
757
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 09, 2010 May 09, 2010
LATEST

You could do this by tapping into javamail. I am coming up blank at the moment. But I am relatively certain there are some existing cfc's out there that use javamail.

http://java.sun.com/products/javamail/FAQ.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources