mod_email_receive

Enables the Zotonic site to receive emails for the site’s users. The user’s email address is username@hostname, where the hostname is the hostname as configured in the site’s config file.

Any email that has no valid recipient is rejected. Inbound email module for receiving and routing emails addressed to site users.

Accepted Events

This module handles the following notifier callbacks:

  • observe_email_add_handler: Register a recipient handler that maps inbound recipient addresses to modules/resources.

  • observe_email_drop_handler: Remove a previously registered inbound recipient handler.

  • observe_email_ensure_handler: Ensure a recipient handler registration exists, creating it when needed.

  • observe_email_received: Route incoming email to the recipient-specific module handler based on recipient address.

Delegate callbacks:

See also

mod_email_relay, E-mail handling.

Edit on GitHub

Models

email_receive_recipient

Model for received-email recipient extraction and matching used by mod_email_receive.

See also

mod_email_relay

This module supports relaying email between Zotonic servers.

E-mail handling

Any Zotonic system is capable of sending and receiving e-mail messages over SMTP.