what to specify in the name for SMTP host using java mail api program?
0 posts in topic
Flat View  Flat View

Posted By:   Anandanatarajan_Rathinavel
Posted On:   Wednesday, April 25, 2001 10:40 PM

i don't know what to specify for the SMTP host name when i am using it in java mail api to send a mail. plz give some details about it. if i give yahoo.com it gives error like below.

Exception in thread "main" javax.mail.SendFailedException: Sending failed;

javax.mail.MessagingException: Unknown SMTP host: yahoo.com;

java.net.UnknownHostException: yahoo.com

About | Sitemap | Contact