Mail ends up as Junk Mail
843830Nov 9 2002 — edited Nov 9 2002As you all know that hotmail and other public emails have advanced email filters that prevent junk mails if your email address is not listed in the TO list.
All parts of my mail are good but when i check my email I find the mail that I send ends up in the junk mail folder.
Address toAddress = new InternetAddress(To);
message.addRecipient(Message.RecipientType.TO, toAddress);
Does the above influence anything in the TO line that causes this kind of behaviour.
Has anybody encountered this problem?
JavaMail 1.3