wcerfgba/send_emails

A simple script to send emails from jobs in a database table. Suitable for cron. Copy-and-edit.

dev-master 2019-08-08 10:34 UTC

This package is auto-updated.

Last update: 2024-04-08 21:31:42 UTC


README

A simple PHP script to send emails from jobs in a database table. Suitable for cron.

Columns

  • <recipient> -- This is configured by the SEND_EMAILS_DATABASE_RECIPIENT_COLUMN env var.
  • template -- The name of the template file to load.
  • sent_at -- Datetime string when email was successfuly delivered.
  • last_error -- Exception of last error.
  • error_count -- Number of retry errors. To retry a failed job, clear sent_at and error_count.
  • last_errored_at -- Datetime string of last error.