> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Message Release Logs

Retrieve logs of messages that were released to recipients, including information about the user who processed the release.
These logs also capture messages that expired while in the held queue and were subsequently discarded by Mimecast's housekeeping services.

Required application permissions: `Monitoring | Held | Read`.

`Note:` You must provide at least one parameter to execute the action.

<Note>
  External Documentation

  To learn more, visit the [Mimecast documentation](https://developer.services.mimecast.com/docs/auditevents/1/routes/api/gateway/get-held-release-logs/post).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter            | Description                                                                                |
  | -------------------- | ------------------------------------------------------------------------------------------ |
  | Search By End Date   | The end date of results to search by. The default value is the current date.               |
  | Search By Start Date | The start date of results to search by. The default value id the start on the current day. |
  | Search Field         | The field to be searched.                                                                  |
  | Search Value         | The value on which the search will be applied.                                             |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                                                                                                                                                                                                                                                                          |
  | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filter By Field       | Field Filter that is applied to the search results.                                                                                                                                                                                                                                                                                                                                                                  |
  | Filter By Field Value | The value of which the filter will be applied, depends on the Field chosen in the `Filter By Field` parameter.<br /><br />**Must be provided** if `Filter By Field` **is provided.**<br /><br />\* Value options for `route` field:  `all`,` internal`, `outbound`, `inbound`.<br />\* Value options for `status` field:  `released`,  `rejected`.<br />\* Value options for `attachments` field:  `true`,  `false`. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"heldReleaseLogs": [
				{
					"attachments": true,
					"detectionLevel": "relaxed",
					"fromEnv": {
						"address": "string",
						"domain": "string"
					},
					"fromHdr": {
						"address": "string",
						"domain": "string"
					},
					"heldGroup": "string",
					"heldReason": "string",
					"id": "string",
					"messageInfo": "string",
					"operator": {
						"email": "string"
					},
					"policy": "string",
					"rejectReason": "string",
					"released": "yyyy-MM-dd'T'HH:mm:ssZ",
					"route": "inbound",
					"size": 1024,
					"spamProcessingDetail": {
						"dkim": {
							"allow": true,
							"info": "string"
						},
						"dmarc": {
							"allow": true,
							"info": "string"
						},
						"greyEmail": true,
						"managedSender": {
							"allow": true,
							"info": "string"
						},
						"permittedSender": {
							"allow": true,
							"info": "string"
						},
						"rbl": {
							"allow": true,
							"info": "string"
						},
						"spf": {
							"allow": true,
							"info": "string"
						}
					},
					"verdict": {
						"spamScore": 10,
						"status": "released"
					},
					"subject": "string",
					"to": [
						{
							"displayableName": "string",
							"emailAddress": "string"
						}
					]
				}
			]
		}
	],
	"fail": [
		{
			"errors": [
				{
					"code": "string",
					"message": "string",
					"retryable": true
				}
			],
			"key": {
				"end": "yyyy-MM-dd'T'HH:mm:ssZ",
				"filterBy": [
					{
						"fieldName": "string",
						"value": "string"
					}
				],
				"searchBy": {
					"fieldName": "string",
					"value": "string"
				},
				"start": "yyyy-MM-dd'T'HH:mm:ssZ"
			}
		}
	]
}
```

## Workflow Library Example

[Message Release Logs with Mimecast and Send Results Via Email](https://library.blinkops.com/workflows/message-release-logs-with-mimecast-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/message-release-logs-with-mimecast-and-send-results-via-email/canvas" />
</div>
