Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javamail- can't send

 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you specifying the host?
 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ohhh...Ispecified host wrongly...Now working properly... thankyou for your response Ulf Dittmer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic