run:
-- listing properties --
mail.smtp.gmail=smtp.gmail.com
mail.smtps.quitwait=true
mail.smtp.starttls.enable=true
mail.email=hawat.thufir@gmail.com
mail.smtp.connectiontimeout=2000
mail.smtp.user=hawat.thufir@gmail.com
mail.smtp.socketFactory.class=SSL_FACTORY
mail.smtp.password=password
nntp.host=nntp://localhost/
mail.smtp.socketFactory.port=465
mail.smtp.timeout=2000
mail.user=hawat.thufir
mail.imap.port=993
mail.imap.timeout=5000
mail.smtp.socketFactory.fallback=false
mail.smtp.port=587
mail.smtp.auth=true
mail.imap.host=imap.gmail.com
mail.nntp.newsrc.file=/home/thufir/.newsrc
mail.imap.connectiontimeout=5000
mail.smtp.host=smtp.gmail.com

========message follows==========

smtp.gmail.comhawat.thufir@gmail.compassword587
[Ljavax.mail.internet.InternetAddress;@e75a11
[Ljavax.mail.internet.InternetAddress;@ca128d
hello gmail
trying...
Dec 24, 2013 4:36:11 AM net.bounceme.dur.nntp.Gmail <init>
SEVERE: null
javax.mail.AuthenticationFailedException
	at javax.mail.Service.connect(Service.java:270)
	at net.bounceme.dur.nntp.Gmail.sendMessage(Gmail.java:60)
	at net.bounceme.dur.nntp.Gmail.<init>(Gmail.java:25)
	at net.bounceme.dur.nntp.Gmail.main(Gmail.java:36)

BUILD SUCCESSFUL (total time: 2 seconds)