EmailParser.Hash
----------------

Returns a SHA512 hash for the email source parsed.

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

MBS( "EmailParser.Hash"; EmailID ) 

**MBS**( **"EmailParser.Hash";** /\* Returns a SHA512 hash for the email source parsed. \*/  
**$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 a SHA512 hash for the email source parsed.  
You can use this hash to identify an email and check for duplicates.  
### See also

- [EmailParser.Header](EmailParserHeader.md)
- [EmailParser.List](EmailParserList.md)
- [EmailParser.Parse](EmailParserParse.md)

### Release notes

- **Version 7.4**
    - Added [EmailParser.HasHeader](http://www.mbsplugins.eu/EmailParserHasHeader.shtml) and [EmailParser.HeaderValue](http://www.mbsplugins.eu/EmailParserHeaderValue.shtml) functions to make header queries easier.

### 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 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.HasHeader](EmailParserHasHeader.md) - [EmailParser.Header](EmailParserHeader.md)

[HTML Version](EmailParserHash.shtml)