Skip to main content
Version: 1.25

Dryad Mailer Emails

When Send Emails Using is "Amazon SES", Dryad Mailer emails your receipts through Amazon Simple Email Service and records each send in Salesforce. This article explains those records, what their statuses and checkboxes mean, and how to send failed emails again.

To set up Dryad Mailer, see Dryad Mailer Setup. With Salesforce email, none of this applies.

How a Send Is Recorded​

Every time receipts are emailed, from Batch Receipts, a Receipt list view, the Email Receipt button or the scheduled job, Dryad Receipting creates:

  • one Email record for the send, named "Email sent on" followed by the date and time;
  • one Email Recipient for each receipt, with the receipt, its Contact, the email template and the status "Ready".

The emails then go out in the background, in groups of Receipt Batch Size (see Receipt Settings). Each one is personalized from the receipt's email template and has the receipt's PDF attached.

A sent email is also logged as a completed email activity on the Contact, linked to the receipt.

Open the Email from the Emails tab, or from the "Email Receipts" Batch Receipt Log of the run. Its Email Recipients list shows what happened to each receipt.

Email Sent doesn't mean delivered

A receipt is marked as emailed as soon as its Email Recipient is created. Check the Email Recipient to see whether it was sent and delivered.

Email Status​

The Email's Status shows how its latest send went:

StatusMeaning
"Draft"The emails haven't started going out yet.
"In Progress"The emails are going out.
"Complete"Every recipient in the send was sent.
"Complete with Errors"The send finished, but at least one recipient failed. Filter its Email Recipients by Status = "Failed" to see which, and why.
"Failed"The send couldn't start, so nothing was emailed. Error Message says why, for example that the Dryad Mailer settings are missing or the background job couldn't be queued.

Each new send, for example after sending failed emails again, sets the Status back to "In Progress" and clears the Error Message. The Status then reflects that send only.

The Status doesn't change when an email bounces later. Bounces show on the Email Recipients.

Email Recipient Status and Tracking​

FieldMeaning
Status "Ready"Waiting to be sent.
Status "Sent"Amazon accepted the email for delivery.
Status "Failed"The email couldn't be sent. Error Message says why.
DeliveredTicked when the email reached the recipient's mail server.
OpenedTicked when the recipient opened the email. Some mail programs block the tracking, so an unopened email may still have been read.
Soft BounceTicked when delivery failed for a temporary reason, such as a full mailbox. It can be retried.
Hard BounceTicked when delivery failed permanently (for example, the address doesn't exist) or the recipient reported the email as spam. Don't retry it.

Delivered, Opened and the bounce checkboxes are filled in by the events Amazon sends back. They need the configuration set and the Salesforce Site from the setup. Each event is also stored as an Email Event record under the Email Recipient.

Why a Recipient Fails​

Error MessageCause and fix
"Missing email address."The receipt has no Donor Email, and its Contact has no email. Add the address, then send again.
"Attachment size exceeds 5MB limit."The receipt's PDF is larger than 5 MB, usually because of large images in the template. Make the images smaller, click Create PDF on the receipt, then send again.
"… has no Email_Template_Id__c." or "Email template merge failed: …"No email template is assigned, or it couldn't be merged. Check the email template in Receipt Settings or on the Receipting Account.
Text from Amazon, such as "MessageRejected"Amazon refused the email, usually because the sender address isn't verified in Amazon SES, or, in the SES sandbox, the donor's address isn't verified either.
A credential or connection errorThe user who sent the emails can't use the Amazon credential, or the connection is set up for another region. See Dryad Mailer Setup.

Sending Failed Emails Again​

Open the Email record and use its two buttons:

  1. Fix the cause of the failures (see above).
  2. Click Reset Recipients, then Reset Failed Recipients. Every recipient with the status "Failed" or a Soft Bounce is set back to "Ready", and its error message and Soft Bounce box are cleared. The screen says "The recipients were set to "Ready". You can now email them." If there are none, it says "There aren't any failed or soft-bounced recipients to be reset."
  3. Click Send Email, then Send Email again to confirm. Only recipients that are "Ready" are emailed. The screen says "The email was scheduled.", and the emails go out in the background.
You can send again as many times as you need

Only recipients that are "Ready" are emailed, so recipients that were already emailed aren't emailed again.

Hard-bounced recipients aren't reset. Correct the donor's email address and send their receipt with the Email Receipt button, or print it.

Finding Problems​

  • Filter Email Recipients by Status = "Failed", or Hard Bounce or Soft Bounce ticked, to find receipts that didn't reach donors.
  • Filter by Delivered not ticked to find emails that were sent but not confirmed as delivered.
  • Filter Emails by Status = "Complete with Errors" or "Failed" to find sends that need attention.

Troubleshooting​

SymptomCheck
Recipients stay "Ready"The send hasn't run. Click Send Email on the Email. If the Email's Status is "Failed", fix the cause in its Error Message first.
The Email's Status is "Failed"The send couldn't start. Read the Email's Error Message. If the Dryad Mailer settings are missing, complete the Dryad Mailer Setup. If the job couldn't be queued, wait for other background jobs to finish. Then click Send Email again.
The Email's Status is "Complete with Errors"Some recipients failed. See Why a Recipient Fails, then send them again.
"There aren't any recipients to be emailed."No recipient is "Ready". Use Reset Recipients first.
Recipients are "Sent", but Delivered is never tickedAmazon's events aren't reaching Salesforce. Check the configuration set, the SNS subscription, the Site and the sharing rule on Email Recipient. See Dryad Mailer Setup.
The receipt shows Email Sent but the donor didn't get itOpen the receipt's Email Recipient and check its Status, Error Message and bounce boxes.