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

Using JavaMail to parse .eml email files

New Here ,
Jul 09, 2008 Jul 09, 2008
Has anyone tried this? Anyone have some code that attempts to parse emails and display the body of the email, for example? This looks fairly difficult and any code that I can reuse would be very helpful.
TOPICS
Advanced techniques
3.0K
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 ,
Jul 11, 2008 Jul 11, 2008
LATEST
It certainly can be done. The key part is having a good understanding of the javamail API.
http://java.sun.com/developer/onlineTraining/JavaMail/contents.html#GettingAttachments

You can find a few ColdFusion snippets in this thread
http://www.tek-tips.com/viewthread.cfm?qid=1446467&page=1

The rest is just a matter of translating the java code to ColdFusion.
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