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]
Other_Characteristics  
Invalidates cache No
Macro No
Has end tag [/email_raw]

Tag expansion example:

    [email_raw]
From: foo@bar.com
To: bar@foo.com
Subject: baz

The text of the message.
    [/email_raw]

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);

6.7.1.1. See Also

email

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.