can u people help me out from this exception:
server.log
server.log
Code: Select all
my mail-service.xml:13:51:07,218 ERROR [STDERR] javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
13:51:07,218 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
13:51:07,218 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
13:51:07,218 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
13:51:07,218 ERROR [STDERR] at javax.mail.Service.connect(Service.java:297)
13:51:07,218 ERROR [STDERR] at javax.mail.Service.connect(Service.java:156)
13:51:07,218 ERROR [STDERR] at javax.mail.Service.connect(Service.java:105)
13:51:07,218 ERROR [STDERR] at javax.mail.Transport.send0(Transport.java:168)
13:51:07,218 ERROR [STDERR] at javax.mail.Transport.send(Transport.java:98)
13:51:07,218 ERROR [STDERR] at com.openkm.util.MailUtils.send(MailUtils.java:299)
13:51:07,218 ERROR [STDERR] at com.openkm.util.MailUtils.sendMessage(MailUtils.java:156)
13:51:07,218 ERROR [STDERR] at com.openkm.module.direct.DirectNotificationModule.notify(DirectNotificationModule.java:298)
13:51:07,218 ERROR [STDERR] at com.openkm.api.OKMNotification.notify(OKMNotification.java:83)
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>
<!-- ==================================================================== -->
<!-- Mail Connection Factory -->
<!-- ==================================================================== -->
<mbean code="org.jboss.mail.MailService" name="jboss:service=OpenKM">
<attribute name="JNDIName">java:/mail/OpenKM</attribute>
<attribute name="User">shyamsunder.elakapalli</attribute>
<attribute name="Password">123456</attribute>
<attribute name="Configuration">
<!-- A test configuration -->
<configuration>
<!-- Change to your mail server prototocol -->
<property name="mail.store.protocol" value="pop3"/>
<property name="mail.transport.protocol" value="smtp"/>
<!-- Change to the user who will receive mail -->
<property name="mail.user" value="shyamsunder.elakapalli@tsbcorp.com"/>
<!-- Change to the mail server -->
<property name="mail.pop3.host" value="mail.tsbcorp.com"/>
<!-- Change to the SMTP gateway server -->
<property name="mail.smtp.host" value="mail.tsbcorp.com"/>
<property name="mail.smtp.starttls.enable" value="true" />
<property name="mail.smtp.socketFactory.class" value="javax.net.ssl.SSLSocketFactory" />
<!-- The mail server port -->
<property name="mail.smtp.port" value="25"/>
<property name="mail.smtp.socketFactory.port" value="25" />
<!-- Change to the address mail will be from -->
<property name="mail.from" value="shyamsunder.elakapalli@tsbcorp.com"/>
<property name="mail.smtp.user" value="shyamsunder.elakapalli@tsbcorp.com"/>
<property name="mail.smtp.password" value="123456"/>
<property name="mail.smtp.auth" value="true"/>
<!-- Enable debugging output from the javamail classes -->
<property name="mail.debug" value="false"/>
</configuration>
</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
</server>