setFrom
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Timi_n
Posted On:   Sunday, July 29, 2007 02:18 PM


I am not very good at java, but I created a mail client using Java. Regarding this I have one question. When sending a mail for example to a yahoo account although I set: newMessage.setFrom(new InternetAddress("xxx@mail.com"));
when I am checking the yahoo inbox From is not what I set but the user name used for the smtp server. How can this be solved.
Thanks

About | Sitemap | Contact