Jump to Content

Objective HTML

Postmaster

The definitive email solution for ExpressionEngine

Channel Entries Tagdata End

This hook will send an email anytime a Channel Entries hook finished parsing the tagdata.

Extends

Hooks API


Exceptions

In order for this hook to work correctly, two things need to be in place. The first is a channel entries tag with an email parameter. And the second is the tag to not be on the homepage. Due to the way ExpressionEngine handles routing, two email will be sent if the tag is used on the site's homepage. This is a bug in ExpressionEngine, and is a limitation that has to be worked around.


Example


{exp:channel:entries
	limit="1"
	email="true"
}
	This tagdata will be parsed and emailed according to how your hook is setup.
{/exp:channel:entries}

Hook Variables

tagdata
The parsed tagdata
entry_id
The entry id
side_id
The site id
channel_id
The channel id
title
The entry title
url_title
The entry url title
status
The entry status
custom_fields
Any custom field will also be parsed

Member Variables

All the default member variables will be available, except the member that is parsed will be the author of the entry.