• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JavaMail: A good "How to receive attachments" sample/book?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone recommend a good "How to receive attachments" sample or book?
I've been through the JGuru tutorial, and the msgshow.java example, but they seem to fall short in area of comprehensively extracting all types of attachments.
I am seeing an example of this at the moment: we are relying on the message content being an instanceof MultiPart to determine whether the email has attachments (as in the tutorial). However, we are receiving some emails that are not multipart, but DO have an attachment (content type = application).
The JGuru tutorial does not deal with recursive Multiparts either, which I have seen some peope mention in other forums.
And I cannot find any examples of what to do with mutipart/aternative content types.

If anyone knows of a foolproof example, or a good book, please help!!

Thanks in advance.
[ August 24, 2004: Message edited by: Mark Pinks ]
 
Climb the rope! CLIMB THE ROPE! You too tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic