• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

gettimg Exception in Transport.send()

 
Sandy Verma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,
I am getting the following exception while running the code to send a mail from gmail account


javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. el2sm29078994ibb.10



Please help !!!
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the FAQ: http://www.oracle.com/technetwork/java/faq-135477.html#gmail, and don't use multiple exclamation marks where a single dot suffices. And what's with the emoticons? Do you think repeating them somehow reinforces the words you wrote?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49793
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I might remove some of those emoticons.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic