Common Macros

From ESM Wiki
Revision as of 04:40, 10 October 2009 by Sfyrin (Talk | contribs)

Jump to: navigation, search

The following macros can be used in templates and conditions of all engines:

$attachment
$attachment.base64
$attachment.headers
$attachment.text
$attachment.malformed
$attachment.multipart
$attachment.resource_fork
$attachment.resource_fork.base64
$attachment.file_name
$attachment.mime_type
$body
$body.html
$body_part
$body_part.is_body
$body_part.is_attachment
$body_part.size
$body_part.headers
$body_part.text
$body_part.malformed
$body_part.multipart
$body_part.file_name
$body_part.digest
$body_part.resource_fork

$body_part.resource_fork.size
$body_part.resource_fork.digest
$data
$data.size
$data.digest
$decode_base64
$empty
$encode_base64
$json_escape
$headers
$headers.message_id
$headers.in_reply_to
$headers.references
$headers.from
$headers.sender
$headers.reply_to
$headers.to
$headers.cc
$headers.bcc
$headers.subject
$hmac
$host
$ip

$ip.dec
$ip.hex
$if_not_empty
$gethostname
$group
$message_id
$md5
$not_empty
$pid
$recipient
$recipient.local
$recipient.domain
$recipient.component
$sender
$sender.local
$sender.domain
$sender.component
$sha1
$size
$size_hex
$sp, $br, $cr, $lf, $crlf, $htab
$subject
$text_find_replace_all

$thread
$time
$time6
$uri_escape
$wrap
$xml_cdata
$xml_escape
$year, $month, $day, $hour, $minute, $second

$attachment

Description: Represents email attachment data. Attachment is every body part that is not body in body-attachments-view of email typical for MUA's.
Dimension: $attachment
Stage: smtp-end-of-data

$attachment.base64

$attachment.headers

$attachment.text

$attachment.malformed

$attachment.multipart

$attachment.resource_fork

$attachment.resource_fork.base64

$attachment.file_name

$attachment.mime_type

$body

$body.html

$body_part

$body_part.is_body

$body_part.is_attachment

$body_part.size

$body_part.headers

$body_part.text]]

$body_part.malformed

$body_part.multipart

$body_part.file_name

$body_part.digest

$body_part.resource_fork

$body_part.resource_fork.size

$body_part.resource_fork.digest

$data

$data.size

$data.digest

$decode_base64

$empty

$encode_base64

$json_escape

$headers

$headers.message_id

$headers.in_reply_to

$headers.references

$headers.from

$headers.sender

$headers.reply_to

$headers.to

$headers.cc

$headers.bcc

$headers.subject

$hmac

$host

$ip

$ip.dec

$ip.hex

$if_not_empty

$gethostname

$group

$message_id

$md5

$not_empty

$pid

$recipient

$recipient.local

$recipient.domain

$recipient.component

$sender

$sender.local

$sender.domain

$sender.component

$sha1

$size

$size_hex

$sp, $br, $cr, $lf, $crlf, $htab

$subject

$text_find_replace_all

$thread

$time

$time6

$uri_escape

$wrap

$xml_cdata

$xml_escape

$year, $month, $day, $hour, $minute, $second

Personal tools