Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

response -1 from smtp.yahoo.com.au

843830Aug 28 2007 — edited Sep 3 2007
Hi Everyone.

I'm trying to write a little method to send e-mails (errors)

my program works fantastic from our work e-mail provider, but on my 2nd test, using smtp.yahoo.com.au, it runs into a nasty problem.

Theres not much here of an error message. I've turned debugging on, but this seems quite lite too.

Any suggestions - again - it definitely works with another mail server. I'd like to know what parameters does the smtp server require.

I've also checked - I can send e-mail using my smtp account from thunderbird.

Debugging info:

DEBUG: setDebug: Java version 1.4ea
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.yahoo.com.au", port 25, isSSL false
DEBUG SMTP: EOF: [EOF]
DEBUG SMTP: could not connect to host "smtp.yahoo.com.au", port: 25, response: -1
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2007
Added on Aug 28 2007
6 comments
507 views