how to get recipients addresses as String in JavaMail?

Posted by Neuquino on Stack Overflow See other posts from Stack Overflow or by Neuquino
Published on 2010-04-01T16:02:13Z Indexed on 2010/04/01 16:13 UTC
Read the original article Hit count: 387

Filed under:
|

I have a piece of code VERY similar to this one http://java.sun.com/developer/onlineTraining/JavaMail/contents.html#JavaMailFetching

I the difference is that I need to get the "TO" addresses as a String. I can't find in the API how to get the "TO" recipients as String for each Message.

Can anyone guide me on how to do this? At least a link where someone has already done it.

Thanks in advance

© Stack Overflow or respective owner

Related posts about javamail

Related posts about receive