How to find instance email address

shaik_irfan
Tera Guru

 

Hi 

 

Is there some kind of hidden system property that holds a instance's email address?

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi @shaik.irfan 

in case you have a PDI then your instance email address is

dev<INSTANCE NUMBER>@servicenowdevelopers.com

dev12345@servicenowdevelopers.com

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

View solution in original post

7 REPLIES 7

harun_isakovic
Mega Guru

The instance email is usually xxxx@service-now.com.

If your instance url is "audi.service-now.com", the email would be "audi@service-now.com".

Also you can probably see it in the Outbound/Sent emails from your instance, just look at the "From" field.

Brad Bowman
Kilo Patron
Kilo Patron

Look in Email Accounts in the left nav, then ServiceNow SMTP, which is managed by ServiceNow.  You will see the Email user label and From address, both of which you can change, and the User name which will be the address that you would send to for the instance.  There is a system property to override the address in non-production instances.  You can see this via Email Properties in the left nav, in the Outbound Email Configuration "Send all email to this email address (non-production testing).

Thanks for this!  It wasn't my post but it helped me out with something I needed to find for my boss 🙂

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @shaik.irfan ,

 

 You could do something like this:

 

var email = gs.getProperty('instance_name') + '@service-now.com';

 

Please mark my answer as helpful/Correct so that these threat will close and it will benefitted to others as well.

Regards,

Gunjan


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy