I'm using JavaMail Release 1.4.
Here is the exception trace:
Error: Could not connect to SMTP host: bsmtp.telekom.at, port: 25,
response: -1
Class: class javax.mail.MessagingException
Trace:
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
javax.mail.Service.connect(Service.java:275)
Here are the debug statements:
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Programme\BDC. EDV-Consulting
GmbH\hotInvoiceBusiness\_jvm\lib\javamail.providers (Das System kann die
angegebene Datei nicht finden)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name:
{com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.
sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.m
ail.smtp.SMTPTransport,Sun Microsystems, Inc],
com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.
imap.IMAPSSLStore,Sun Microsystems, Inc],
com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.
pop3.POP3SSLStore,Sun Microsystems, Inc],
com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap
.IMAPStore,Sun Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3
.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol:
{imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
Microsystems, Inc],
imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
Microsystems, Inc],
smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport
,Sun Microsystems, Inc],
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc],
pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
Microsystems, Inc],
smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Programme\BDC. EDV-Consulting
GmbH\hotInvoiceBusiness\_jvm\lib\javamail.address.map (Das System kann die
angegebene Datei nicht finden)
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "bsmtp.telekom.at", port 25, isSSL
false
DEBUG SMTP: EOF: [EOF]
DEBUG SMTP: could not connect to host "bsmtp.telekom.at", port: 25,
response: -1
Christian Wiesbauer
-----Ursprüngliche Nachricht-----
Von: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Gesendet: Donnerstag, 09. August 2007 20:46
An: users_at_glassfish.dev.java.net
Betreff: Re: problem with sending mail (eof, response: -1)
1. Which version of JavaMail (or exactly which build of Glassfish) are you
using.
2. Please post the entire exception trace.
3. Please post the _exact_ debug output for this. I looked at the source
code and what you posted here appears inconsistent.
-Peter (Sun)
[Message sent by forum member 'peterwx' (peterwx)]
http://forums.java.net/jive/thread.jspa?messageID=230301
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net