• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

using google to send email by JavaMail

 
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
mail.smtp.host--------->"smtp.gmail.com"
mail.smtp.port--------->465
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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic