6.7. email_raw

This tag takes a raw email message, including headers, and uses the SendmailProgram with -t option.

6.7.1. Summary

    [email_raw]Your message including headers[/email_raw]
Invalidates cache No
Macro No
Has end tag [/email_raw]

Tag expansion example:

From: [email protected]
To: [email protected]
Subject: baz

The text of the message.

The headers must be at the beginning of the line, and the header must have a valid To: or it will not be delivered.

ASP-like Perl call:

    $Tag->email_raw(  { body => $body }  );

or similarly,

    $Tag->email_raw($body); See Also


6.7.2. Description

Will send the content between the [email_raw][/email_raw] tags as a raw email message to the recipient specified in the supplied headers using the SendmailProgram with -t option.