- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2017 03:40 PM
You can create test mailbox and configure this mailbox as outgoing mailbox so that all outgoing mails are sent to this mailbox on non production instance.
Regards,
Sachin
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 05:25 AM
Hi Mike,
I've used your script it cleaned my outbox but all new emails also have the status ignored do you know why?
Is the script working in the background? How to fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2017 06:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2017 01:09 PM