• error in mail configuration

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7584  by syamsunder.e
 
can u people help me out from this exception:

server.log
Code: Select all
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)
my mail-service.xml:
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>

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.