EmailParser.AttachedEmails
--------------------------

Queries email IDs for embedded emails.

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

MBS( "EmailParser.AttachedEmails"; EmailID ) 

**MBS**( **"EmailParser.AttachedEmails";** /\* Queries email IDs for embedded emails. \*/  
**$EmailID**) /\* The ID fo the email parser.e.g. $Email \*/ 

### Parameters

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

### Result

Returns list or error.

### Description

Queries email IDs for embedded emails.  
Sometimes Outlook may embed one email into another and this function returns the reference numbers for any email we got while parsing the email.  
The list is empty usually, but may have one or more entries, if there are embedded emails with mime type message/rfc822.  
If eml files are attached, they may show up as normal attachments.  
### Release notes

- **Version 9.4**
    - Added [EmailParser.AttachedEmails](http://www.mbsplugins.eu/EmailParserAttachedEmails.shtml) function.

### Example Databases

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

### Blog Entries

- [Neue Funktionen des MBS FileMaker Plugin 9.4](https://www.mbsplugins.de/archive/2019-10-05/Neue_Funktionen_des_MBS_FileMa/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.4pr8](https://www.mbsplugins.de/archive/2019-09-14/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 12nd September 2019 , last changed 12nd September 2019

  
[EmailParser.AddressCount](EmailParserAddressCount.md) - [EmailParser.Attachment](EmailParserAttachment.md)

[HTML Version](EmailParserAttachedEmails.shtml)