Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Clean up unsent outgoing emails

(0) ShareShare
ReportReport
Posted on by 140
Hi all,
 
Is it possible to clean up the unsent outgoing emails automatically?
The reason why I asked is when we refresh the DB from PROD to the sandbox, sometimes we found the unsent emails from PROD were accidentally sent.
 
Thanks,
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    Clean up unsent outgoing emails
    Hi LB developer,
     
    There is a cleanup batch job, but that will default the days for history to 30, when the parameter is setup to be 0. In this case, you can create a SQL script or runnable class to delete the records from the sandbox environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans