MessagingException in SMTP host, like UNknown SMTP host
843834Jul 1 2009 — edited Jul 7 2009Hai Friends,
I want to send an E-mail from Gmail to Gmail through writing Java code Using JavaMail.
I gave the Smtp host as "smtp.gmail.com", but it is throwing an exception like Unknown SMTP host.
Please help me,