Return Home
Overview
<attach>
<body>
<body>
<clientip>
<comment>
<configuration>
<copy>
<delay>
<dnslookup>
<domainquery>
<email>
<expression>
<expressions>
<file>
<filter>
<filters>
<header>
<header>
<helo>
<http>
<imap>
<index>
<inputpath>
<ipquery>
<log>
<mailfrom>
<maxbuffer>
<maxlines>
<message>
<modifysource>
<multiplerecipients>
<option>
<parser>
<path>
<quickresult>
<rcptto>
<result>
<results>
<return>
<rule>
<rules>
<scope>
<select>
<smtpextendedstatuscode>
<smtpstatuscode>
<target_filter>
<target_index>
<test>
<title>
Boolean type
Macros
Regular Expressions
Node: attach
<attach file="filename" content-id="contentid" altname="altname" inline="no" />
Specifies a file to be attached to the email.
Macros are expanded in the filename.
Attributes:
file
full path and filename of the file to attach
content-id
optional identifier that can be used in text/html <body> parts to reference the attachment (for use such as for inline images, the URL would be "cid:content-id" where "content-id" is the value used in this attribute)
altname
optional alternate name that will be used by the email client as the filename (some email clients such as Outlook Express use the file extension to determine what to do with the attachment, such as displaying images; to avoid this, give the attachment an altname without a file extension)
inline
optional specification of the purpose of the attachment (inlined or an external attachment); usually not necessary to specify this attribute, it will be automatically determined
Notes:
- If the file does not exist, it no attachment will be included in the email.
Future Enhancements: