POST api/Home/SendEmail
Module : Home ; BE JIRA: ADINA-9513 ; Description: Email sending to ADI Global inbox using SMTP[Simple Mail Transfer Protocal].
Request Information
URI Parameters
None.
Body Parameters
FeedabackSubmittedBaseEntityName | Description | Type | Additional information |
---|---|---|---|
userName | string |
None. |
|
RegisteredEmailID | string |
None. |
|
sentFrom | string |
None. |
|
date | date |
None. |
|
appVersion | string |
None. |
|
experience | string |
None. |
|
toName | string |
None. |
|
toMail | string |
None. |
|
subject | string |
None. |
|
feedbackType | string |
None. |
|
Comments | string |
None. |
|
deviceName | string |
None. |
|
deviceModal | string |
None. |
|
host | string |
None. |
|
port | integer |
None. |
|
Message | string |
None. |
|
WebApiIsSuccess | boolean |
None. |
|
WebApiResponseMessage | string |
None. |
|
WebApiErrorCode | string |
None. |
|
error_description | string |
None. |
|
CookieData | Collection of AppCookie |
None. |
Request Formats
application/json, text/json
Sample:
{ "userName": "sample string 1", "RegisteredEmailID": "sample string 2", "sentFrom": "sample string 3", "date": "2025-03-13T19:48:29.5916239+00:00", "appVersion": "sample string 5", "experience": "sample string 6", "toName": "sample string 7", "toMail": "sample string 8", "subject": "sample string 9", "feedbackType": "sample string 10", "Comments": "sample string 11", "deviceName": "sample string 12", "deviceModal": "sample string 13", "host": "sample string 14", "port": 15, "Message": "sample string 16", "WebApiIsSuccess": true, "WebApiResponseMessage": "sample string 18", "WebApiErrorCode": "sample string 19", "error_description": "sample string 20", "CookieData": [ { "Name": "sample string 1", "Value": "sample string 2", "NameValue": "sample string 3", "ExpiryDateTime": "sample string 4" }, { "Name": "sample string 1", "Value": "sample string 2", "NameValue": "sample string 3", "ExpiryDateTime": "sample string 4" } ] }
application/xml, text/xml
Sample:
<FeedabackSubmittedBaseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adi.BusinessEntities"> <CookieData> <AppCookie> <ExpiryDateTime>sample string 4</ExpiryDateTime> <Name>sample string 1</Name> <NameValue>sample string 3</NameValue> <Value>sample string 2</Value> </AppCookie> <AppCookie> <ExpiryDateTime>sample string 4</ExpiryDateTime> <Name>sample string 1</Name> <NameValue>sample string 3</NameValue> <Value>sample string 2</Value> </AppCookie> </CookieData> <Message>sample string 16</Message> <WebApiErrorCode>sample string 19</WebApiErrorCode> <WebApiIsSuccess>true</WebApiIsSuccess> <WebApiResponseMessage>sample string 18</WebApiResponseMessage> <error_description>sample string 20</error_description> <Comments>sample string 11</Comments> <RegisteredEmailID>sample string 2</RegisteredEmailID> <appVersion>sample string 5</appVersion> <date>2025-03-13T19:48:29.5916239+00:00</date> <deviceModal>sample string 13</deviceModal> <deviceName>sample string 12</deviceName> <experience>sample string 6</experience> <feedbackType>sample string 10</feedbackType> <host>sample string 14</host> <port>15</port> <sentFrom>sample string 3</sentFrom> <subject>sample string 9</subject> <toMail>sample string 8</toMail> <toName>sample string 7</toName> <userName>sample string 1</userName> </FeedabackSubmittedBaseEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
FeedabackSubmittedBaseEntityName | Description | Type | Additional information |
---|---|---|---|
userName | string |
None. |
|
RegisteredEmailID | string |
None. |
|
sentFrom | string |
None. |
|
date | date |
None. |
|
appVersion | string |
None. |
|
experience | string |
None. |
|
toName | string |
None. |
|
toMail | string |
None. |
|
subject | string |
None. |
|
feedbackType | string |
None. |
|
Comments | string |
None. |
|
deviceName | string |
None. |
|
deviceModal | string |
None. |
|
host | string |
None. |
|
port | integer |
None. |
|
Message | string |
None. |
|
WebApiIsSuccess | boolean |
None. |
|
WebApiResponseMessage | string |
None. |
|
WebApiErrorCode | string |
None. |
|
error_description | string |
None. |
|
CookieData | Collection of AppCookie |
None. |
Response Formats
application/json, text/json
Sample:
{ "userName": "sample string 1", "RegisteredEmailID": "sample string 2", "sentFrom": "sample string 3", "date": "2025-03-13T19:48:29.6228755+00:00", "appVersion": "sample string 5", "experience": "sample string 6", "toName": "sample string 7", "toMail": "sample string 8", "subject": "sample string 9", "feedbackType": "sample string 10", "Comments": "sample string 11", "deviceName": "sample string 12", "deviceModal": "sample string 13", "host": "sample string 14", "port": 15, "Message": "sample string 16", "WebApiIsSuccess": true, "WebApiResponseMessage": "sample string 18", "WebApiErrorCode": "sample string 19", "error_description": "sample string 20", "CookieData": [ { "Name": "sample string 1", "Value": "sample string 2", "NameValue": "sample string 3", "ExpiryDateTime": "sample string 4" }, { "Name": "sample string 1", "Value": "sample string 2", "NameValue": "sample string 3", "ExpiryDateTime": "sample string 4" } ] }
application/xml, text/xml
Sample:
<FeedabackSubmittedBaseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adi.BusinessEntities"> <CookieData> <AppCookie> <ExpiryDateTime>sample string 4</ExpiryDateTime> <Name>sample string 1</Name> <NameValue>sample string 3</NameValue> <Value>sample string 2</Value> </AppCookie> <AppCookie> <ExpiryDateTime>sample string 4</ExpiryDateTime> <Name>sample string 1</Name> <NameValue>sample string 3</NameValue> <Value>sample string 2</Value> </AppCookie> </CookieData> <Message>sample string 16</Message> <WebApiErrorCode>sample string 19</WebApiErrorCode> <WebApiIsSuccess>true</WebApiIsSuccess> <WebApiResponseMessage>sample string 18</WebApiResponseMessage> <error_description>sample string 20</error_description> <Comments>sample string 11</Comments> <RegisteredEmailID>sample string 2</RegisteredEmailID> <appVersion>sample string 5</appVersion> <date>2025-03-13T19:48:29.6228755+00:00</date> <deviceModal>sample string 13</deviceModal> <deviceName>sample string 12</deviceName> <experience>sample string 6</experience> <feedbackType>sample string 10</feedbackType> <host>sample string 14</host> <port>15</port> <sentFrom>sample string 3</sentFrom> <subject>sample string 9</subject> <toMail>sample string 8</toMail> <toName>sample string 7</toName> <userName>sample string 1</userName> </FeedabackSubmittedBaseEntity>