smtp setup

nagadeepika
Kilo Contributor

Hi All,

Recently configured one office365 (smtp) mail box to send outbound mails in our ServiceNow Dev instance, this connection was successful & notifications were sent.

Now we have moved our code to ServiceNow Test instance and tried to test the outbound emails by configuring the same office365 (smtp) mail box with ms365 smtp server. We are not able to establish the connection to SMTP server.

I also tried deleting the configured smtp account in Dev instance & configured in my Test instance. No luck !!

Can we have same mail box on same server & port as smtp for my Dev,Test & Prod instances.

help me solving this....

11 REPLIES 11

Try re-entering your settings. If that doesn't work, try doing the configuration in a different instance (i.e: a personal development instance) - just for the sake of science



Thanks,


Berny


harishdasari
Tera Guru

Hi Deepika,



This error can have either of two reasons :



The username and password that you have entered   are incorrect and you are failing authentication


Your account has been disabled because of a problem


You are using IP based authentication and your account has been disabled or has expired



to resolve this problem


To resolve this issue you need to take a number of steps:


check the status of your account to ensure it is not disabled for any reason - any issues would normally be highlighted for you


Check you are using the correct username and password.




Thanks


Yeap. What Harish said


nagadeepika
Kilo Contributor

Hi Harish,


I am able to open the mailbox externally (from office 365 website using the login credentials).


And also i can send & receive mails using that mailbox.


Try the following:


  1. navigate to the authentication credentials in the platform
  2. change the user to be someone different (non-existent), leave the password as-is
  3. try again, observe the error message that's shown (and post a screenshot here, if you can)
  4. change the login back to the correct one
  5. change the password to something wrong
  6. try again, observe the error message that's shown (and post a screenshot here, if you can)
  7. compare this error to the last one (step 3) and the one posted in your screenshot.