Skip to main content
Mar 30, 2020 1:11 PM UTC
Solved

Email notification from smtp.office365.com server

Hi, 

I am planning to implement mail notification from office365 srever.

I have given below configurations

SMTP server and port : smtp.office365.com, Port:587

Pop3 server and port: outlook.office365.com, 995.

Please find the attached screenshot for configuration.

I am getting below error if try to send message using "sendmessage" service.

 

"Error retrying to send an email to valid recipients after invalid ones caused a failure, or failure to send an error email about this event: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [BYAPR07CA0078.namprd07.prod.outlook.com]_"

 

I have used Main extension 3.6.0 version

 

Anyone knows what is this error?. Could you help me on how to use the office365 server to send the E-mails.

 

Thanks&Regards,

Latha

vi1Answer
Mar 31, 2020 11:49 AM UTC

Thank you for response.

I have given correct "from address" (outlook username)  and also enabled TLS.

I did not enable SMTP  port 587  on outlook side. 

 

Thanks&Regards,

Latha

8 replies

Mar 30, 2020 1:37 PM UTC

Well, where's your username and password? Just scroll down in that list 🙂

 

/ Constantine

vi1Author
Mar 30, 2020 1:40 PM UTC

Thank you for response.

 

Yes, I have given user name and passport. Also, given timeout values.

Earlier I am using our own smtp server. Now we are planning to move office 365 server.

 

Regards,

Latha

Mar 30, 2020 2:17 PM UTC

The message looks like the Server is rejecting Thingworx (anonymous) from sending the message.

Probably need to look into your mail server security settings etc.