cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Email notification from smtp.office365.com server

vi1
15-Moonstone
15-Moonstone

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

1 ACCEPTED SOLUTION

Accepted Solutions
vi1
15-Moonstone
15-Moonstone
(To:Constantine)

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

View solution in original post

8 REPLIES 8

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

 

/ Constantine

vi1
15-Moonstone
15-Moonstone
(To:Constantine)

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

PaiChung
22-Sapphire I
(To:vi1)

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.

vi1
15-Moonstone
15-Moonstone
(To:PaiChung)

Hi,

 

I have given Outlook username and password to send the E-mails.

Is this related to port enable "587" in Outlook settings?.

Is there any other configuration on Outlook server?.

Could any one provide the steps to configure the Office365 server to receive the mail notification?

 

Thanks&Regards,

Vidyullatha

@vi1, do you also enable TLS? Do you use correct "from" address? On Outlook side you need to enable SMTP on port 587, yes.

vi1
15-Moonstone
15-Moonstone
(To:Constantine)

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

PaiChung
22-Sapphire I
(To:vi1)

Great, does that mean your issue has been resolved? can you please mark your entry as Solved? Thanks!

Top Tags