# observe\_email\_failed/2

Source: https://zotonic.com/docs/1816/observe_email_failed-2

URI: https://zotonic.com/id/1816

Language: en



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:

[notify](/id/doc_developerguide_notifications#notification-notify)

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`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1816?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1816?language=en>)
