Jump to Content

Objective HTML

Postmaster

The definitive email solution for ExpressionEngine

Email Endpoint

The email endpoint hook is triggered anytime an HTTP request is sent to a template with an email endpoint. Essentially, the endpoint tag triggers this hook with some variables you define. All the variables you define using the tag pairs will be available within this hook.


Variables

to_email
The recipient email address
to_name
The recipient name
from_email
The sender email
from_name
The sender name
reply_to
The reply to email (if different than the to_email).
cc
A comma delimited string of emails for CCing
bcc
A comma delimited string of emails for BCCing
subject
The email subject
html_message
The html formatted contents
plain_message
The html formatted contents.

Note, the ability to send both html and plain text emails is not currently available in the UI. It's coming in a future update after all the Postmaster API's have been completely updated.