POST api/Mailer/SendMailWithAttachment
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
retOBJName | Description | Type | Additional information |
---|---|---|---|
IsSucceeded | boolean |
None. |
|
ErrorNote | string |
None. |
|
MailAttachments | Collection of MailAttachment |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSucceeded": true, "ErrorNote": "sample string 2", "MailAttachments": [ { "AttachmentId": "sample string 1", "FilName": "sample string 2" }, { "AttachmentId": "sample string 1", "FilName": "sample string 2" } ] }
application/xml, text/xml
Sample:
<retOBJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailClient.Models"> <ErrorNote>sample string 2</ErrorNote> <IsSucceeded>true</IsSucceeded> <MailAttachments> <MailAttachment> <AttachmentId>sample string 1</AttachmentId> <FilName>sample string 2</FilName> </MailAttachment> <MailAttachment> <AttachmentId>sample string 1</AttachmentId> <FilName>sample string 2</FilName> </MailAttachment> </MailAttachments> </retOBJ>