observe_email_failed/2
Notify that we could NOT send an e-mail (there might be a bounce later...) The Context is the depickled z_email:send/2 context.
Type:
Return:
#email_failed{} properties:
- message_nr:
binary - recipient:
binary - is_final:
boolean - reason:
bounce|retry|illegal_address|smtphost|sender_disabled|error - retry_ct:
non_neg_integer|undefined - status:
binary|tuple|undefined