• Post Reply Bookmark Topic Watch Topic
  • New Topic

using google to send email by JavaMail  RSS feed

Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers...
Iam testing JavaMail Sample, the sample found here ,iam using the class named TestMail at that page...i made changes on toAddress, and fromAddress,amd using google smtp as follows:
And this is the Code:

when i activate debugging using "mail.debug", "true" , it show at console the following line
EBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
then waiting and waiting.........too long time waiting,but no result..
can you help me?
[ November 22, 2006: Message edited by: Ala'a Hendi ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!