at javax.mail.Transport.send0(Transport.java:219) at javax.mail.Transport.send(Transport.java:81) at SimpleSendMessage.main(SimpleSendMessage.java:40) yes...............................!
please clear me
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35257
7
posted
0
I'm not sure what is happening exactly, but for tracking down a problem it's a good idea to turn on session debugging. That produces all kinds of useful output. Secondly, when using gmail as the server you'll need to add authentication and provide your password. Lastly, if you want to use a locally running server, you'll need to use "localhost" as server, not gmail. [ April 08, 2008: Message edited by: Ulf Dittmer ]