Problems with ERJavaMail
Problems with ERJavaMail
- Subject: Problems with ERJavaMail
- From: Frank Gibau <email@hidden>
- Date: Thu, 29 Sep 2011 16:58:09 +0200
Hello,
We using W0 5.4 with Project-Wonder. We are able to send eMails from our
WO-Application without problems.
We changed our Mailserver. So I have to change Mailsettings in the
Application:Properties-File.
Here are our properties:
#========================================================================
# ERJavaMail
#========================================================================
er.javamail.defaultEncoding=UTF-8
er.javamail.centralize=false
er.javamail.adminEmail=email@hidden
er.javamail.debugEnabled=true
er.javamail.milliSecondsWaitIfSenderOverflowed=6000
er.javamail.smtpHost=exchange.xxx.de
er.javamail.smtpAuth=true
er.javamail.smtpPort=443
mail.[smtpProtocol].port=443
er.javamail.smtpUser=intranet.mailer
er.javamail.smtpPassword=xxxxx
# SMTP: smtp SMTP/SSL: smtps
er.javamail.smtpProtocol=smtps
And here is the Error I have (see below):
Whats wrong ?
Thanks
Frank Gibau
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "exchange.xxx.de", port 443, isSSL
true
DEBUG SMTP: exception reading response: java.net.SocketException:
Connection reset
Sep 29 16:42:47 Portal[55555] ERROR er.javamail.ERMailSender - Unable
to connect to SMTP Transport. MessagingException: Exception reading response
SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at
com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:755)
at
com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
at
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at
er.javamail.ERMailSender._connectedTransportForSession(ERMailSender.java:262)
at er.javamail.ERMailSender.run(ERMailSender.java:307)
... skipped 1 stack elements
Sep 29 16:42:47 Portal[55555] ERROR er.javamail.ERMailSender - General
mail error: javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketException: Connection reset
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden