aspose file tools
The moose likes Beginning Java and the fly likes gettimg Exception in Transport.send() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "gettimg Exception in Transport.send()" Watch "gettimg Exception in Transport.send()" New topic

gettimg Exception in Transport.send()

Sandy Verma

Joined: Nov 20, 2011
Posts: 1
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

Joined: Sep 21, 2011
Posts: 2409
Read the FAQ:, 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

Joined: Oct 13, 2005
Posts: 40961
Welcome to the Ranch

I might remove some of those emoticons.
I agree. Here's the link:
subject: gettimg Exception in Transport.send()