|
Whitebeam Object Definition
|
SmtpRequest.SmtpBody
An SMTP header comprising a name and a value pair.
Elements
The SmtpRequest.SmtpBody struct has 5 elements:
Name | Type/Value | Range/Length | Description | contentType | string | | Optional.
The 'Content-Type' for this body element.
| base64encode | bool | | Optional.
The Presentation Engine will attempt to determine whether or not to base64 encode a portion of the body. The algorithm
is very simple : If the contentType does not start with 'text/' then it will be encoded. Set this property to force encoding (or false to prevent encoding). Note
the Presentation Engine is only capable of encoding Binary objects.
(See RFC2045, section 6.8).
| quotedPrintable | bool | | Optional.
For text elements with this property set to 'true' the Whitebeam will apply "Quoted Printable" encoding to the text
before it is sent built into the email
(See RFC2045, section 6.7).
| headers | MetaData | | Optional.
Only used for a multipart encoding. If present for portion of the body then this
is the set of headers to output before the content of that part.
| subTable | MetaData | | Optional.
If present Whitebeam will use the contents of the object to attempt text-substitutions on the message element. Substitution
occurs by searching the body for instances of '$name' and then attempting to resolve 'name' as a property on the
subTable. If found the $name is replaced by the value. This will generally be much faster and less resource hungry than
attempting the same operation using regular expressions in JavaScript.
|
Remarks
This object represents an SMTP header - either sent to - or returned from a remote server. Each instance of this
object represents a single header. Multiple headers can have the same name.
|
|
(loadtime : 11ms) |