info.mailtraq.com > Management > Script Functions A-Z > MimeGetBoundary() MimeGetBoundary()Returns the unique string used to bound individual mime entities as specified in the boundary parameter of the Content-Type header of an input message. Note that this function returns the mime boundary of the outermost mime entity only. Nested mime boundaries may be parsed (when detected) by using the syntax provided in the second example below.
boundary := MimeGetBoundary()
- boundary
- The boundary used to separate mime entities in the current input message.
Input message header:-
Content-Type: multipart/alternative; boundary="abcd1234"
Example usage
"abcd1234" := MimeGetBoundary()
Alternative expression
"abcd1234" := WildcardMatchReplace(Header("Content-Type"), "*boundary=?*?", "$3") |