Email, Queued vs Scheduled

Options

All email deliveries are Scheduled jobs. The difference being when the job was scheduled. If a delivery job is scheduled well in advance of the expected delivery start time the state for this delivery will be reflected in the Admin UI as "Scheduled." If a job is scheduled for immediate delivery it will be placed in the "Queued" state until it is picked up by the task service for processing.

When an email delivery is submitted for immediate delivery an associated task job will be created with a scheduled delivery date of the current time. If the task is not able to immediately start progressing through the various transitions for an email job it will be transitioned to Queued.

When an email delivery is scheduled it creates an associated task job that will be picked up after the scheduled time for delivery has elapsed. Until the job is actually processing on the task service it will have no state change from Scheduled. For all practical purposes the email delivery in the Scheduled state is in fact queued for delivery at the point it is scheduled.

There is not a state transition from Scheduled to Queued as deliveries in Scheduled state are equally available for processing as those jobs in Queued state.

There is no need for concern if a Scheduled job time has lapsed. The job is enqueued and will be delivered as it is picked up by task services. Cancelling a Scheduled job and resending immediately will not provide any benefit. The action of cancelling a Scheduled job and sending immediately places the job into the Queue with an effective scheduled time later than the original scheduled time.

Tagged:

Comments

  • What is the usual delay between a scheduled delivery and the actual delivery of a message? I'm waiting for a message I scheduled for this morning to go out, and it's already 45 minutes delayed. Should I schedule things for an hour before I want them to go out?

  • Hi Robin,

    I noticed your question and wanted to pass along a belated response. The delays from email send to email delivery are dependent upon how many others are trying to send a message.  If it is a holiday or a busy time of day, that send time can be more extended.  (45 minutes is definitely not the norm though!)

    I wouldn't recommend cancelling the job since you are still progressing through the queue.  Cancelling in order to create a scheduled job would place your message back in the queue at the time it was scheduled to be sent, essentially behind your current spot in line.  If you absolutely have to have something go by a certain time of day, I would give yourself a buffer of a few hours, which should cover any long lines you might encounter in the queue.

    Hope this helps!

    Heather

Categories