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("firstname.lastname@example.org"));
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.