jQuery in Action, 3rd edition
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
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: 2413
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

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

I might remove some of those emoticons.
I agree. Here's the link: http://aspose.com/file-tools
subject: gettimg Exception in Transport.send()
It's not a secret anymore!