Suggestions to prevent e-mail escapes during testing

Pausing messages does not remove them from the e-mail queue. The following are suggestions of preventive measures during testing of the e-mail queue to reduce the chance of inadvertently sending e-mails to recipients.

  • Change the e-mail addresses to (for example, an internal or nonexistent address that conforms to proper e-mail syntax).

  • Change your e-mail configuration to an invalid setup to force the e-mails into a Failed state. This allows them to be purged.

  • Access the database and delete all records from the following locations:

    EmailMessageContent, EMailMessageAttachment and EMailMessageQueue.

Note: 

Any of these activities will need to be repeated as new messages are added to the queue during processing.