Forums de discussion

Office365 Error

Etienne Roy, modifié il y a 7 années.

Office365 Error

Regular Member Publications: 114 Date d'inscription: 08/08/13 Publications récentes
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, modifié il y a 7 années.

RE: Office365 Error

Regular Member Publications: 114 Date d'inscription: 08/08/13 Publications récentes
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