POST api/SendInBlueEmail/SendSMTPMail
Request Information
URI Parameters
None.
Body Parameters
SendSmtpMail| Name | Description | Type | Additional information | 
|---|---|---|---|
| tag | string | None. | |
| CampaignName | string | None. | |
| CampaignNameId | string | None. | |
| sender | SendsmtpSender | None. | |
| templateName | string | None. | |
| TempelateID | integer | None. | |
| htmlContent | string | None. | |
| subject | string | None. | |
| to | Collection of SendsmtpTo | None. | |
| attachment | Collection of attachment | None. | |
| CountryId | integer | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "tag": "sample string 1",
  "CampaignName": "sample string 2",
  "CampaignNameId": "sample string 3",
  "sender": {
    "name": "sample string 1",
    "email": "sample string 2"
  },
  "templateName": "sample string 4",
  "TempelateID": 5,
  "htmlContent": "sample string 6",
  "subject": "sample string 7",
  "to": [
    {
      "name": "sample string 1",
      "email": "sample string 2"
    },
    {
      "name": "sample string 1",
      "email": "sample string 2"
    }
  ],
  "attachment": [
    {
      "content": "sample string 1",
      "name": "sample string 2"
    },
    {
      "content": "sample string 1",
      "name": "sample string 2"
    }
  ],
  "CountryId": 1
}
        application/xml, text/xml
            Sample:
        
<SendSmtpMail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <tag>sample string 1</tag>
  <CampaignName>sample string 2</CampaignName>
  <CampaignNameId>sample string 3</CampaignNameId>
  <sender>
    <name>sample string 1</name>
    <email>sample string 2</email>
  </sender>
  <templateName>sample string 4</templateName>
  <TempelateID>5</TempelateID>
  <htmlContent>sample string 6</htmlContent>
  <subject>sample string 7</subject>
  <to>
    <SendsmtpTo>
      <name>sample string 1</name>
      <email>sample string 2</email>
    </SendsmtpTo>
    <SendsmtpTo>
      <name>sample string 1</name>
      <email>sample string 2</email>
    </SendsmtpTo>
  </to>
  <attachment>
    <attachment>
      <content>sample string 1</content>
      <name>sample string 2</name>
    </attachment>
    <attachment>
      <content>sample string 1</content>
      <name>sample string 2</name>
    </attachment>
  </attachment>
  <CountryId>1</CountryId>
</SendSmtpMail>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | string | None. | |
| dateTime | string | None. | |
| StatusCode | integer | None. | |
| ErrorMessage | string | None. | |
| Result | Object | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "Version": "1.0.0",
  "dateTime": "2025/10/31 15:41:24",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>