Courses: Automating Application Logic (Notifications)

UnoZ06
Tera Contributor

Hello all,

I'm working in the PDI on the courses and wanted to know why my emails aren't sending.

As part of the course, it gives you the option to send outbound emails but none actually send to the temporary email it tells you to set up.

In the training, it states the emails have been disabled but this makes no sense because the training says they have disabled all outbound emails to all emails except that domain. So which one is it because this makes it harder to understand whether I'm following the guidance correctly?

Screen Shot 2023-08-28 at 5.13.38 PM (3).png

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @UnoZ06 

without access to your instance, it is difficult to tell you what's going wrong. 

Therefore, please go through the following support article and follow the instructions: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0521382

Maik

 

RAMANA MURTHY G
Mega Sage
Mega Sage

By default outbound email sending is disabled in San Diego version PDIs. First you need to enable it. 

All> System Properties > Email Properties  then Check Email sending checkbox to true. 

 

If your PDI won't allow to di it, you have to run below background script.

var gr = new GlideRecord('sys_properties');
gr.addActiveQuery();
gr.addQuery('name','glide.email.smtp.active');
gr.query();
if (gr.next()) {
gs.print(gr.value);
gr.value = 'true'
gr.update();
gs.print(gr.value);

}

 

 

 

Please mark as helpful, if it works.

Please mark my answer helpful  & correct if it helps you
Thank you

G Ramana Murthy
ServiceNow Developer