Courses: Automating Application Logic (Notifications)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 02:16 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 08:17 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 08:28 PM - edited 08-28-2023 08:29 PM
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.
Thank you
G Ramana Murthy
ServiceNow Developer