Foros de discusión

Liferay Mail Configuration

Ankita Agarwal, modificado hace 11 años.

Liferay Mail Configuration

New Member Mensajes: 2 Fecha de incorporación: 31/08/12 Mensajes recientes
Hi,

I am trying to configure my Liferay CE 6 website with a local SMTP server.I have added the following configuration settings under Server Administration>>Mail :
Incoming POP Server :10.152.117.90
Incoming Port : 25
Use a Secure Network Connection : checked
User Name : my username
Password : my password
Outgoing SMTP Server :10.152.117.90
Outgoing Port : 25
Use a Secure Network Connection : checked
User Name : my username
Password : my password

However I am getting the following exception:
06:11:43,512 ERROR [MailEngine:507] Exception reading response
06:11:43,513 ERROR [MailEngine:154] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)
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 com.liferay.util.mail.MailEngine._send(MailEngine.java:477)
at com.liferay.util.mail.MailEngine.send(MailEngine.java:321)
at com.liferay.util.mail.MailEngine.send(MailEngine.java:390)
at com.liferay.mail.messaging.MailMessageListener.doMailMessage(MailMessageListener.java:95)
at com.liferay.mail.messaging.MailMessageListener.doReceive(MailMessageListener.java:110)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)

Any advice will be of great help.
Thanks in advance,
Regards,
Ankita
thumbnail
Bart Simpson, modificado hace 11 años.

RE: Liferay Mail Configuration

Liferay Master Mensajes: 522 Fecha de incorporación: 29/08/11 Mensajes recientes
Use a Secure Network Connection : checked

Could you verify your secured port as well?
Usually these are the ports :
Port for TLS/STARTTLS: 587
Port for SSL: 465

You can check what are these in the mail server you are trying to use.
Ankita Agarwal, modificado hace 11 años.

RE: Liferay Mail Configuration

New Member Mensajes: 2 Fecha de incorporación: 31/08/12 Mensajes recientes
I unchecked the Use Secured Connection checkbox. The mails are being sent now. emoticon
Thanks for the reply.
thumbnail
Sri Sri, modificado hace 11 años.

RE: Liferay Mail Configuration

Regular Member Mensajes: 143 Fecha de incorporación: 18/10/12 Mensajes recientes
hi, i have followed the tutorial
https://www.liferay.com/web/igor.beslic/blog/-/blogs/12057446, but it is not working for me.could u explain me how u got this briefly? my requirement is while adding any webcontent one autogenerated mail should go to the organization members.