SendMail.GetHTMLText
--------------------

Queries the html text of this email.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SendMail](component_SendMail.md) | [7.1](newinversion71.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "SendMail.GetHTMLText"; EmailID ) 

**MBS**( **"SendMail.GetHTMLText";** /\* Queries the html text of this email. \*/  
**$EmailID**) /\* The email reference number obtained using [SendMail.CreateEmail](SendMailCreateEmail.md) function. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EmailID | The email reference number obtained using [SendMail.CreateEmail](SendMailCreateEmail.md) function. | $EmailID |

### Result

Returns text or error.

### Description

Queries the html text of this email.  
### See also

- [SendMail.CreateEmail](SendMailCreateEmail.md)
- [SendMail.GetPlainText](SendMailGetPlainText.md)
- [SendMail.GetRichText](SendMailGetRichText.md)
- [SendMail.SetHTMLText](SendMailSetHTMLText.md)
- [SendMail.SetRichText](SendMailSetRichText.md)

This function checks for a license.

Created 28th February 2017 , last changed 28th February 2017

  
[SendMail.CreateEmail](SendMailCreateEmail.md) - [SendMail.GetInReplyTo](SendMailGetInReplyTo.md)

[HTML Version](SendMailGetHTMLText.shtml)