Method GetFileMailInfos
GetFileMailInfos(String, String)
Get mail specific information from the fileId
Declaration
MailInfoContract GetFileMailInfos(string connectionId, string fileId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | fileId | The file id.> |
Returns
Type | Description |
---|---|
MailInfoContract | Mail information |
Examples
POST https://YourServerName/InfoShare/Json/DocumentProcessing/GetFileMailInfos
Example for retrieving mail information from the fileId{
"connectionId": "0e2c3de4-5e90-43ed-9eec-3e1742dffacb",
"fileId": "0fd43d97-928c-494e-96c0-d357f1f975af"
}
Response:
{
"GetMailInfosResult": {
"Attachments": [
{
"Extension": ".txt",
"FileName": "Batch_BuiltInFiels.txt",
"Id": "0",
"Size": 468
},
{
"Extension": ".pdf",
"FileName": "2007OfficeUIDesignGuidelinesLicense.pdf",
"Id": "1",
"Size": 4854707
},
{
"Extension": ".jpg",
"FileName": "Background.jpg",
"Id": "2",
"Size": 733332
}
],
"Bcc": [],
"Cc": [],
"From": {
"Address": null,
"DisplayName": null
},
"MessageId": null,
"ReceivedDate": null,
"SentDate": "2008-10-31T13:35:00",
"Subject": "MyEmlTest",
"To": [
{
"Address": null,
"DisplayName": "testmail@kendox.com"
}
]
}
}