EmailParser.SourceWithoutAttachments
------------------------------------

Returns the source of the email without attachments.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [EmailParser](component_EmailParser.md) | [5.4](newinversion54.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "EmailParser.SourceWithoutAttachments"; EmailID ) 

**MBS**( **"EmailParser.SourceWithoutAttachments";** /\* Returns the source of the email without attachments. \*/  
**$EmailID**) /\* The ID fo the email parser.e.g. $Email \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EmailID | The ID fo the email parser. | $Email |

### Result

Returns text or error.

### Description

Returns the source of the email without attachments.  
The plugin passes the email, removes attachments and produces this source for you.  
Can be useful to archive emails without attachments.  
### Release notes

- **Version 9.4**
    - Rewrote [EmailParser.SourceWithoutAttachments](http://www.mbsplugins.eu/EmailParserSourceWithoutAttachments.shtml) function.

### Example Databases

- [CURL/Email/Email Client](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Email%20Client.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 9.4pr8](https://www.mbsplugins.de/archive/2019-09-14/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.4pr1](https://www.mbsplugins.de/archive/2015-10-11/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 2nd October 2015 , last changed 2nd October 2015

  
[EmailParser.Source](EmailParserSource.md) - [EmailParser.Subject](EmailParserSubject.md)

[HTML Version](EmailParserSourceWithoutAttachments.shtml)