discourse/app/jobs
Martin Brennan 4086ee551e
DEV: Add bounce_error_code to EmailLog (#15948)
Whenever we got a bounced email in the Email::Receiver we
previously would just set bounced: true on the EmailLog and
discard the status/diagnostic code. This commit changes this
flow to store the bounce error code (defined in the RFC at
https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml)
not just in the Email::Receiver, but also via webhook events
from other mail services and from SNS.

This commit does not surface the bounce error in the UI,
we can do that later if necessary.
2022-02-15 14:17:26 +10:00
..
concerns DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
onceoff PERF: migrate normalized_emails in a migrations (#15166) 2021-12-02 15:08:22 +11:00
regular DEV: Add bounce_error_code to EmailLog (#15948) 2022-02-15 14:17:26 +10:00
scheduled DEV: Update :critical_user_email calls to use strings (#15827) 2022-02-04 23:43:53 +00:00
base.rb DEV: Fix typo. (#15857) 2022-02-08 09:04:53 +08:00