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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "gettimg Exception in Transport.send()" Watch "gettimg Exception in Transport.send()" New topic
Author

gettimg Exception in Transport.send()

Sandy Verma
Greenhorn

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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Oct 13, 2005
Posts: 36514
    
  16
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()
 
Similar Threads
Checked and Unchecked Exception
Tech Word Game
Regarding throwing java.rmi.RemoteException
Ask Exception?????Urgent
Exceptions ExamLab 6.0