POST api/SendMail
Request Information
URI Parameters
None.
Body Parameters
MailTransportName | Description | Type | Additional information |
---|---|---|---|
mailFrom | string |
None. |
|
mailTo | string |
None. |
|
subject | string |
None. |
|
bodyMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "mailFrom": "sample string 1", "mailTo": "sample string 2", "subject": "sample string 3", "bodyMessage": "sample string 4" }
application/xml, text/xml
Sample:
<MailTransport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mpweblab.Models"> <bodyMessage>sample string 4</bodyMessage> <mailFrom>sample string 1</mailFrom> <mailTo>sample string 2</mailTo> <subject>sample string 3</subject> </MailTransport>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>