Symptom
How to purge unsent emails from the SAP SuccessFactors Learning?
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- This allows for erroneous emails that have not yet been sent (but have been triggered) by the Learning to be purged prior to being sent to users.
- Possible use cases:
- Mail queue has backed up due to an issue in PA_MAIL queue and needs to be cleared out.
- Incorrect email generation was triggered and Email Frequency is higher then 1 minute allowing Admins time to purge generated email notifications before being sent.
Resolution
Manage Unsent Email Functionality:
- Using Manage Unsent Emails, you can view the amount of your unsent email notifications, the time frame that the email notifications were generated, and delete unsent email notifications.
- Unsent email notifications are emails that have been generated but not yet delivered to the SMTP server.
- The email audit report, which represents all notifications that the system generated, still contains deleted unsent email so the audit trail remains.
Prerequisites:
- Sent email is only stored if archiving is ON.
- If Email Archiving is not enabled, email is not queued in the PA_MAIL table and therefore there are no emails to be purged.
- Email archiving can be enabled under System Admin > Configuration > Global Application Settings > Mail tab > Check "".
- Admin Role must have the manage unsent email Workflow assigned to it (see KBA 2492837 if more detail is needed).
How to Use Manage Unsent Emails:
- Navigate to System Admin > Manage Email> Manage Unsent Emails >
- Click the Delete Unsent Emails button to delete all unsent email notifications. The Delete Unsent Emails button is only enabled when the unsent email notifications count is greater than zero >
- You receive the warning: "You are about to delete all unsent emails. These emails will be permanently deleted. Do you want to continue and delete all unsent emails?" >
- Decide if you want to delete all unsent email notifications:
- Click Yes to delete all unsent email notifications.
- Click No to cancel the deletion.
Important Notes:
- Unsent emails that are deleted are never sent to the email recipient(s) and are permanently removed from the system.
- Once unsent email messages are deleted, they cannot be recovered.
- If the emails are not shown as unsent (as when there are 0 Unsent Emails) it is not possible to recall or retrieve them.
See Also
2885206 - Email Notification behavior when enabling Automatic Process after a period disabled
2492837 - Admin Unable to Delete Unsent Emails
Keywords
lms, learning, purge, email, pa_mail, Managing Unsent Email Notification, admin, delete, remove, queue, mail, send, manage, stuck, sent, sending, incorrect, erroneous, purge, sap , KBA , LOD-SF-LMS-NOT , Notifications , LOD-SF-LMS , Learning Management System , How To
Product
SAP SuccessFactors Learning all versions