Our customers use the DBMail feature extensively. When the systems came into my care, the msdb was correspondingly large. Until now, I have always added this job manually. I think this job agent complements the SQL Maintenance Solution quite well.
Pls let me know if I can send you a PR for that.
I have intentionally not changed the comments yet, especially in the header (versioning, etc.).
Add a job that ...
I've forked the repositories and added a job for that. It utilizes
dbo.sysmail_delete_mailitems_sp
anddbo.sysmail_delete_log_sp
:Our customers use the DBMail feature extensively. When the systems came into my care, the msdb was correspondingly large. Until now, I have always added this job manually. I think this job agent complements the SQL Maintenance Solution quite well.
Pls let me know if I can send you a PR for that.
I have intentionally not changed the comments yet, especially in the header (versioning, etc.).