Allows to know if the content of the message is text or HTML code. In case of contain text, the process will return true and in case of contain
HTML code, it will return false.
1 mail.mimePart.isMimeType
<mail.mimePart.isMimeType>
<mimePart /> +
</mail.mimePart.isMimeType>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
EmimePart | mimePart |
Returns | |
---|---|
Type | Description |
Boolean | True or false in function if it is a text or html. |
Example
Copy
<xsql-script name='mail_mimePart_is_text_or_html'> <body> <select prefix='m_'> <columns>mail_message</columns> <from table='wic_user_maildata ' /> <where> uid = 1949310 </where> </select> <set name='m_mimeMessage'> <mail.mimeMessage> <m_mail_message /> </mail.mimeMessage> </set> <mail.mimePart.isTextOrHtmlType> <m_mimeMessage/> </mail.mimePart.isTextOrHtmlType> </body> </xsql-script>