Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2017 04:24 PM
Hi Charlie,
If you want to quickly get all of the emails in your Outbox to your Skipped mailbox, you can run this script:
var rec = new GlideRecord('sys_email');
rec.addQuery('type','send-ready');
rec.query();
while (rec.next()) {
rec.type = 'send-ignored';
gs.print('Email ' + rec.subject + ' ignored');
rec.update();
}
The Type field determines which mailbox emails are placed in and whether or not the SMTP Sender job picks them up.
It's also always a good idea to set the glide.email.test.user property on your sub-prod instances when enabling email sending.
Regards,
Mike