SendMail.ClearHeaders
---------------------

Clears the headers for email.

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

MBS( "SendMail.ClearHeaders"; EmailID ) 

**MBS**( **"SendMail.ClearHeaders";** /\* Clears the headers for 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 OK or error.

### Description

Clears the headers for email.  
### Examples

Clear headers from email:

 MBS ( "SendMail.ClearHeaders"; $EmailID )  
### See also

- [SendMail.CreateEmail](SendMailCreateEmail.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr3](https://www.mbsplugins.de/archive/2016-02-25/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 19th February 2016 , last changed 19th February 2016

  
[SendMail.ClearAttachments](SendMailClearAttachments.md) - [SendMail.ClearRecipients](SendMailClearRecipients.md)

[HTML Version](SendMailClearHeaders.shtml)