This class represents a email style MIME. Implements the class abstract of the Message and the MimePart interface.
1 mail.mimeMessage
<mail.mimeMessage encoding='encoding'>
<InputStream /> +
</mail.mimeMessage>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aencoding | string | Indicates the encoding of the string of chaarcters to process, for example ISO-8859-1 or UTF-8. If not specified, the one defined in the configuration file for the server is used. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
EInputStream | InputStream |
Returns | |
---|---|
Type | Description |
MimeMessage | Returns true if the email has been sent. |
Example
Built an object mimeMessage through an email stored in the blob field.
Copy
<xsql-script name=''> <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> </body> </xsql-script>
Sending of message making use of the smtphost attribute to indicate a server of a determinated outgoing mail.