How to Bypass glide.email.test.user property?

S_24
Giga Contributor

Hi,

In our Service-now instance glide.email.test.user is configured to some Default e-mail Id's.I am trying to send mail via notification activity in a Workflow and all the notifications are sent to those default id's. I want to dynamically set this property to my email address.Is there any way to do it?

There is no set method available under glide system to do this.

Thanks

1 ACCEPTED SOLUTION

asifnoor
Kilo Patron

Hello Sainath,

The glide.email.test.user property has to be used during testing to confirm whether emails are going or not. This is like mail reroute and nothing else.

If you want to send a notification to any other email, then just set this value to null and then configure your to recipient in the notification and email will go to that user.

It is not possible to override this property because the main reason of having this property is to route all mails to the mail address set in this property. So you cannot override this again.

Mark the comment as a correct answer and helpful if it answers your question.

View solution in original post

5 REPLIES 5

Rogers Cadenhe1
Giga Guru

Setting glide.email.test.user will cause all email sent by the instance to go to that address (or addresses) instead of the real recipients. That doesn't sound like what you're looking for.

Can you use the Users field in an email notification to send the notification to yourself?

Hi,

 

I tried setting it.However Emails are sent to default recipients in glide.email.test.user

Thanks

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

We basically use this for testing purpose and its not recommended to change this every now and then.

So please you can add you email id in this if you want to see notification in your outlook or mailbox. We can have comma seperated email ids.

Thanks,
Asshutosh

Hi,

 

Thanks for the suggestion.I have already tried it.If i added the my email-id to the glide.email.test.user property i am receiving all the notification mails.

 

I am looking way for a way around this default property.

 

Thanks