SendMail.SetUse8BitMime
-----------------------

Set whether 8bit encoding is used.

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

MBS( "SendMail.SetUse8BitMime"; EmailID; Value ) 

**MBS**( **"SendMail.SetUse8BitMime";** /\* Set whether 8bit encoding is used. \*/  
**$EmailID**; /\* The email reference number obtained using [SendMail.CreateEmail](SendMailCreateEmail.md) function. \*/   
**$Value**) /\* The new setting.  
Pass 1 to use 8bit mime encoding or 0 for quoted printable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EmailID | The email reference number obtained using [SendMail.CreateEmail](SendMailCreateEmail.md) function. | $EmailID |
| Value | The new setting.   Pass 1 to use 8bit mime encoding or 0 for quoted printable. | 1 |

### Result

Returns OK or error.

### Description

Set whether 8bit encoding is used.  
### Examples

Turn on 8bit MIME:

 Set Variable \[ $r ; Value: MBS ("SendMail.SetUse8BitMime"; $EmailID ; 1) \]  
Prefer to use quoted printable:

 Set Variable \[ $r ; Value: MBS ("SendMail.SetUse8BitMime"; $EmailID ; 0) \]  
### See also

- [SendMail.CreateEmail](SendMailCreateEmail.md)
- [SendMail.GetUse8BitMime](SendMailGetUse8BitMime.md)

### Release notes

- **Version 15.1**
    - Added [SendMail.GetUse8BitMime](https://www.mbsplugins.eu/SendMailGetUse8BitMime.shtml) and [SendMail.SetUse8BitMime](https://www.mbsplugins.eu/SendMailSetUse8BitMime.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin 15.1 News](https://www.mbsplugins.de/archive/2025-03-19/MBS_FileMaker_Plugin_151_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.1pr5](https://www.mbsplugins.de/archive/2025-02-24/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

Created 19th February 2025 , last changed 20th February 2025

  
[SendMail.SetSubject](SendMailSetSubject.md) - [SendMail.SetUseSSL](SendMailSetUseSSL.md)

[HTML Version](SendMailSetUse8BitMime.shtml)