> Thanks for responses.
I had it in debug mode
---
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
Exception in thread "main" javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
at javax.mail.Transport.send0(Transport.java:150)
at javax.mail.Transport.send(Transport.java:80)
> lemonj@gmail.com wrote in news:1119370396.590571.171530
> @o13g2000cwo.googlegroups.com:
[quoted text clipped - 3 lines]
> Put it in debug mode and you'll get a better idea of what is going
> wrong.
GaryM - 22 Jun 2005 13:57 GMT
> DEBUG: getProvider() returning
> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,
[quoted text clipped - 9 lines]
> ) at javax.mail.Transport.send0(Transport.java:150)
> at javax.mail.Transport.send(Transport.java:80)
Strange. I don't see your program in the stack. Can you post the rest
of your code.
GaryM - 22 Jun 2005 13:57 GMT
> DEBUG: getProvider() returning
> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,
[quoted text clipped - 9 lines]
> ) at javax.mail.Transport.send0(Transport.java:150)
> at javax.mail.Transport.send(Transport.java:80)
Strange. I don't see your program in the stack. Can you post the rest
of your code.
GaryM - 22 Jun 2005 13:57 GMT
> DEBUG: getProvider() returning
> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,
[quoted text clipped - 9 lines]
> ) at javax.mail.Transport.send0(Transport.java:150)
> at javax.mail.Transport.send(Transport.java:80)
Strange. I don't see your program in the stack. Can you post the rest
of your code.
GaryM - 22 Jun 2005 13:57 GMT
> DEBUG: getProvider() returning
> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,
[quoted text clipped - 9 lines]
> ) at javax.mail.Transport.send0(Transport.java:150)
> at javax.mail.Transport.send(Transport.java:80)
Strange. I don't see your program in the stack. Can you post the rest
of your code.