Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Pranay Sanam
smtp mail integration
28 de Novembro de 2012 22:20
Resposta

Pranay Sanam

Ranking: Junior Member

Mensagens: 32

Data de entrada: 14 de Agosto de 2012

Mensagens recentes

Hi folks,

I m trying to integrate mail notifications functionality in to our LR portal. and it is not happening as expected.

I'll tell u what i've done.

since our org doesn't provide social media access i dont have scope to test with gmail credentials. So i had to request my org to create a test smtp server and a test mailbox and use those values in doing so.

In ctrl panel->server adminstration--> mail--> I've given these values

Incoming POP Server: 192.168.105.74
Incoming Port: 110
- Use a Secure Network Connection (din't checked this)
User Name: my usr nm
Password: my pwd
Outgoing SMTP Server: 192.168.105.74
Outgoing Port: 25
- Use a Secure Network Connection (din't checked this)
User Name: my usr nm
Password: my pwd

and then to see if mailing is happening i tried the Forgot Password functionality of liferay. and then I m not getting any mails. also no errors in the log!

plz help me with this

Thanks.
Pranay Sanam
RE: smtp mail integration
28 de Novembro de 2012 22:24
Resposta

Pranay Sanam

Ranking: Junior Member

Mensagens: 32

Data de entrada: 14 de Agosto de 2012

Mensagens recentes

and also to mention this...

If i check those "Use a Secure Network Connection" check boxes i am getting the, most popular, i guess, error
Unrecognized SSL message. just Plaintext connection?


any suggestion would be of gr8 help emoticon

Thanks in advance.
Hari Dobbala
RE: smtp mail integration
28 de Novembro de 2012 22:47
Resposta

Hari Dobbala

Ranking: Junior Member

Mensagens: 29

Data de entrada: 17 de Novembro de 2012

Mensagens recentes

Hi Pranay,

Please first test using simple java program to send the mail by giving details which you have mentioned in admin console. If it is working properly there ,I think it should work in liferay also.
Oliver Bayer
RE: smtp mail integration
29 de Novembro de 2012 01:05
Resposta

Oliver Bayer

Ranking: Liferay Master

Mensagens: 867

Data de entrada: 18 de Fevereiro de 2009

Mensagens recentes

Hi Pranay,

first stick to the good proposals by Hari.

Maybe setting the following property (which can't be set via gui afaik) will let you connect to your smtp server:
mail.smtp.starttls.enable=true

HTH Oli