Foros de discusión

Office365 Error

Etienne Roy, modificado hace 7 años.

Office365 Error

Regular Member Mensajes: 114 Fecha de incorporación: 8/08/13 Mensajes recientes
Hi

I try to setup SMTP for Office365

I use Liferay 7 GA3

Outgoing SMTP Server = smtp.office365.com
Outgoing Port = 587
User Name = ...
Password = ...

We dont have TLS setup and in liferay 7 the properties "mail.smtp.starttls.enable" doesn't exist

When I try it I receive this error : com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM_

I use this account with other open source application and all work perfectly

Somebody can help me

Thank
Etienne Roy, modificado hace 7 años.

RE: Office365 Error

Regular Member Mensajes: 114 Fecha de incorporación: 8/08/13 Mensajes recientes
https://web.liferay.com/fr/community/forums/-/message_boards/view_message/11633763

Go to Control Panel ==> Server Administration ==> Mail
And Try adding below line in text area which says
"Manually specify additional JavaMail properties to override the above configuration."

mail.smtp.starttls.enable=true