This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

gettimg Exception in Transport.send()  RSS feed

 
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
Saloon Keeper
Posts: 3511
77
  • 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
Posts: 53740
127
  • 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
Boost this thread!