File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Javamail- can't send Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Javamail- can Watch "Javamail- can New topic
Author

Javamail- can't send

Priya chek
Ranch Hand

Joined: Feb 12, 2013
Posts: 44
Hi all ,
iam trying to send a mail in java. But iam getting an exeption like
Exception in thread "main" javax.mail.MessagingException: Unknown SMTP host..


Appreciating all help...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42274
    
  64
How are you specifying the host?


Ping & DNS - my free Android networking tools app
Priya chek
Ranch Hand

Joined: Feb 12, 2013
Posts: 44
Ohhh...Ispecified host wrongly...Now working properly... thankyou for your response Ulf Dittmer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javamail- can't send