sangramjadhav / simple-java-mail

Clone of Simple-java-mail
http://code.google.com/p/simple-java-mail
0 stars 0 forks source link

Simple email sending doesn't work #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just trying to implement the example that you provided in the wiki

What is the expected output?
Nothing just email has to be sent...

What do you see instead?
See here: http://pastebin.com/t58fWEpG

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.
Trying to send email with gmail. Added your libraries and code compiles OK. I'm 
using Eclipse on Xubuntu 11.10.

Original issue reported on code.google.com by f0i9s...@gmail.com on 31 Jul 2012 at 3:28

GoogleCodeExporter commented 9 years ago
I'm not sure if gmail still support SMTP_PLAIN authentication. Please take a 
look at the following page: 
http://support.google.com/mail/bin/answer.py?hl=eng&answer=13287.

Please try the SSL and TLS authentication types first.

Original comment by b.bottema on 1 Aug 2012 at 10:33

GoogleCodeExporter commented 9 years ago
Or else it might be that the SMTP ports is blocked by a firewall.

Original comment by b.bottema on 1 Aug 2012 at 10:34

GoogleCodeExporter commented 9 years ago
That's it ... I used SSL and 465 port. Thank you so much...

Original comment by jaka.lut...@gmail.com on 1 Aug 2012 at 2:40