Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: How to parse a mail

Reply
Thread Tools

Re: How to parse a mail

 
 
zm
Guest
Posts: n/a
 
      07-01-2003
GaryM <(E-Mail Removed)> wrote in message news:<Xns93A6DF99B64B1R3344324357788499939@216.168 .3.44>...
> http://www.velocityreviews.com/forums/(E-Mail Removed) (Van Glass) wrote in
> news:(E-Mail Removed) om:
>
> >
> > When getting the body of the message you also need to consider the
> > possibility that the body could be a multipart/alternative
> > message. For example the body could contain a text/plain message
> > as well as a text/html message. In this case you will need to
> > decide in your code whether you want the text/plain or text/html
> > version of the message body.
> >

>
> In the code I have shown, provided the mail InputStream is rfc822
> compliant, this is not a concern, i.e. the message will be
> constructed with associated attachments with their mime encodings.
> In this case of multipart/alternative you can parse each part out
> separately once the message is constructed.
>
> Gary


Gary,

Which one would be the method to get the body? I cannot find any in the api...

thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
optparse: parse v. parse! ?? 7stud -- Ruby 3 02-20-2008 05:20 AM
E-Mail parse library? cgiatras@gmail.com C Programming 3 05-10-2006 11:51 PM
How to parse a string like C program parse the command line string? linzhenhua1205@163.com C Programming 19 03-15-2005 07:41 PM
Java Mail fails to parse multipart Content-Type due to slash Brian J. Sayatovic Java 1 06-25-2004 01:00 PM
How to parse e-mail messages? Experienced but Undocumented Perl Misc 2 10-11-2003 11:59 PM



Advertisments