Contact
Sending Emails / When emails are sent
  1. Home
  2. Back In Stock Notifier Lite
  3. Sending Emails
  4. When emails are sent
Sending Emails

When emails are sent

1 min readUpdated Nov 7, 2026

Each signup gets one of these statuses: waiting, queued, sent, failed or unsubscribed.

  1. Signup: the subscriber is saved as waiting.
  2. Restock: when WooCommerce sets a product's (or variation's) stock status to In stock, all waiting subscribers for it become queued. The plugin then schedules a send about 30 seconds later instead of waiting for the next regular run.
  3. Sending: queued subscribers are emailed in batches. On success the status becomes sent and the time is recorded.

Restocks made outside WooCommerce

Imports or direct database changes fire no stock event. To cover this, every queue run first checks waiting subscribers (up to 100 product/variation targets at a time) and queues those whose product is in stock now.

Stock disappears again

If the product is out of stock again when the email is about to go out, the subscriber goes back to waiting for the next restock.

Product removed

If the product no longer exists or is not published, the subscriber is marked failed with the error Product no longer available.