Foren

Office365 Error

Etienne Roy, geändert vor 7 Jahren.

Office365 Error

Regular Member Beiträge: 114 Beitrittsdatum: 08.08.13 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Office365 Error

Regular Member Beiträge: 114 Beitrittsdatum: 08.08.13 Neueste Beiträge
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