POST api/{programid}/v2/email/sendEmail
Sends and email through SMTP
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
EmailName | Description | Type | Additional information |
---|---|---|---|
Body | string |
None. |
|
Subject | string |
None. |
|
FromAddress | string |
None. |
|
ToAddress | string |
None. |
|
fromUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Body": "sample string 1", "Subject": "sample string 2", "FromAddress": "sample string 3", "ToAddress": "sample string 4", "fromUser": "sample string 5" }
application/xml, text/xml
Sample:
<Email xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.v2"> <Body>sample string 1</Body> <FromAddress>sample string 3</FromAddress> <Subject>sample string 2</Subject> <ToAddress>sample string 4</ToAddress> <fromUser>sample string 5</fromUser> </Email>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.