Advertisement

04.18.2008 at 01:54PM PDT, ID: 23335551
[x]
Attachment Details

Jmail mail retrival issue with getting the from address

Asked by vkchaitu82 in JavaMail, Java Standard Edition

I have a Jmail application which retives a email using pop server.
This is how I access t get the from header.
 Message m1 = folder.getMessage(i);
 Address [] from = m1.getFrom

when I display the from header it is always of the format:
from [Ljavax.mail.internet.InternetAddress;@1c297a3
How can I get the actual email address like bob@yahoo.com...I am looking f the actual address.
should I do any other settings!!! if so pl let me know          
Start Free Trial
 
Keywords: Jmail mail retrival issue with getting the …
 
Loading Advertisement...
 
[+][-]04.19.2008 at 08:43AM PDT, ID: 21392908

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaMail, Java Standard Edition
Sign Up Now!
Solution Provided By: rickerman
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628