# observe\_email\_send\_encoded/2

Source: https://zotonic.com/docs/2292/observe_email_send_encoded-2

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

Language: en



Add a handler for receiving e-mail notifications

Type:

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

Return:

`{ok, LocalFrom}`, the unique localpart of an e-mail address on this server.

`#email_send_encoded{}` properties:

- message\_nr: `binary`
- from: `binary`
- to: `binary`
- encoded: `binary`
- options: `gen_smtp_client:options()`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2292?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/2292?language=en>)
