POST api/Email/SendMail
Request Information
URI Parameters
None.
Body Parameters
SendMailName | Description | Type | Additional information |
---|---|---|---|
ToMailId | string |
None. |
|
FromMailId | string |
None. |
|
MailSubject | string |
None. |
|
MailBody | string |
None. |
|
IsMailBodyHTML | boolean |
None. |
|
IsAttachment | boolean |
None. |
|
PathForAttachment | string |
None. |
|
BCCMailID | string |
None. |
|
CCMailId | string |
None. |
|
IntitatedByUserID | integer |
None. |
|
IsHighPriority | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ToMailId": "sample string 1", "FromMailId": "sample string 2", "MailSubject": "sample string 3", "MailBody": "sample string 4", "IsMailBodyHTML": true, "IsAttachment": true, "PathForAttachment": "sample string 7", "BCCMailID": "sample string 8", "CCMailId": "sample string 9", "IntitatedByUserID": 10, "IsHighPriority": true }
application/xml, text/xml
Sample:
<SendMail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomLayer.SendMail"> <BCCMailID>sample string 8</BCCMailID> <CCMailId>sample string 9</CCMailId> <FromMailId>sample string 2</FromMailId> <IntitatedByUserID>10</IntitatedByUserID> <IsAttachment>true</IsAttachment> <IsHighPriority>true</IsHighPriority> <IsMailBodyHTML>true</IsMailBodyHTML> <MailBody>sample string 4</MailBody> <MailSubject>sample string 3</MailSubject> <PathForAttachment>sample string 7</PathForAttachment> <ToMailId>sample string 1</ToMailId> </SendMail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.