{
  "info": {
    "_postman_id": "60b2f74d-484e-4216-b9e2-31c59a3b28a6",
    "name": "5yMail API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "11556889"
  },
  "item": [
    {
      "name": "Send Emails Using GET Request",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "https://service.5ymail.com/api?apiKey=The API Key.&authUser=Your 5yMail username.&fromName=The from name.&fromEmail=The from email.&toEmail=The receipient email.&subject=Subject of email.&content=This is a test email.",
          "protocol": "https",
          "host": [
            "service",
            "5ymail",
            "com"
          ],
          "path": [
            "api"
          ],
          "query": [
            {
              "key": "apiKey",
              "value": "The API Key.",
              "description": "Required. It's the API Key, It can be found in your Subscription page, this page for English https://www.5ymail.com/en_US/anonymous-users/my-credits.html"
            },
            {
              "key": "authUser",
              "value": "Your 5yMail username.",
              "description": "Required. It's your 5yMail username"
            },
            {
              "key": "fromName",
              "value": "The from name.",
              "description": "Optional."
            },
            {
              "key": "fromEmail",
              "value": "The from email.",
              "description": "Optional, default: sender@5ymail.com."
            },
            {
              "key": "toEmail",
              "value": "The receipient email.",
              "description": "Required."
            },
            {
              "key": "subject",
              "value": "Subject of email.",
              "description": "Required."
            },
            {
              "key": "content",
              "value": "This is a test email.",
              "description": "Required. It's the email content"
            },
            {
              "key": "lang",
              "value": "en",
              "description": "Optional, the value: en, fr, es, it, de, ru, zh or vi, default: en",
              "disabled": true
            },
            {
              "key": "replyEmail",
              "value": "The Reply email",
              "description": "Optional, the reply email you would like to receive the reply email from the receipient.",
              "disabled": true
            },
            {
              "key": "replyName",
              "value": "The Reply name",
              "description": "Optional, the reply name that the receipient will see.",
              "disabled": true
            },
            {
              "key": "serverLocation",
              "value": "usa",
              "description": "The email server location will be used to sent your email. If it not set or empty, the email location will be randomly selected. Value: asia, europe or usa",
              "disabled": true
            },
            {
              "key": "ccEmail",
              "value": "The CC email.",
              "description": "Optional.",
              "disabled": true
            },
            {
              "key": "bccEmail",
              "value": "The BCC email.",
              "description": "Optional.",
              "disabled": true
            },
            {
              "key": "xMailer",
              "value": "The custom email header.",
              "description": "Optional.",
              "disabled": true
            },
            {
              "key": "dedicatedIp",
              "value": "The dedicated IP address",
              "description": "Optional. Available for the dedicated IP or the dedicated SMTP server subscription. The value: ianccpii-20.97.149.191=my.e9mail.com",
              "type": "text",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Send Emails Using POST Request",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n\"apiKey\": \"The API Key\",\r\n\"authUser\": \"Your 5yMail username\",\r\n\"toEmail\": \"The receipient email\",\r\n\"fromEmail\": \"The from/sender email\",\r\n\"fromName\": \"The from name\",\r\n\"subject\": \"The email subject\",\r\n\"content\": \"The email content\",\r\n\"ccEmail\": \"The CC email\",\r\n\"bccEmail\": \"The BCC email\",\r\n\"replyEmail\": \"The reply email\",\r\n\"replyName\": \"The reply name\",\r\n\"xMailer\": \"Microsoft Outlook\",\r\n\"serverLocation\": \"usa\",\r\n\"lang\": \"en\",\r\n\"dedicatedIp\": \"ianccpii-20.97.149.191=my.e9mail.com\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://service.5ymail.com/api",
          "protocol": "https",
          "host": [
            "service",
            "5ymail",
            "com"
          ],
          "path": [
            "api"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Send Emails With Attachment Using POST/Form-Data",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "attach",
              "description": "Optional. The attach file.",
              "type": "file",
              "src": "/C:/Users/TRUONGTHUONGHAN/Desktop/5ymail.com-spf-setup.JPG"
            },
            {
              "key": "apiKey",
              "value": "The API Key.",
              "description": "Required. It's the API Key, It can be found in your Subscription page, this page for English https://www.5ymail.com/en_US/anonymous-users/my-credits.html",
              "type": "text"
            },
            {
              "key": "authUser",
              "value": "Your 5yMail username.",
              "description": "Required. It's your 5yMail username",
              "type": "text"
            },
            {
              "key": "fromName",
              "value": "The from name.",
              "description": "Optional.",
              "type": "text"
            },
            {
              "key": "toEmail",
              "value": "The receipient email.",
              "description": "Required.",
              "type": "text"
            },
            {
              "key": "subject",
              "value": "Subject of email.",
              "description": "Required.",
              "type": "text"
            },
            {
              "key": "content",
              "value": "The email content",
              "description": "Required. It's the email content",
              "type": "text"
            },
            {
              "key": "lang",
              "value": "en",
              "description": "Optional, the value: en, fr, es, it, de, ru, zh or vi, default: en",
              "type": "text",
              "disabled": true
            },
            {
              "key": "replyEmail",
              "value": "The Reply email",
              "description": "Optional, the reply email you would like to receive the reply email from the receipient.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "replyName",
              "value": "The Reply name",
              "description": "Optional, the reply name that the receipient will see.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "serverLocation",
              "value": "usa",
              "description": "The email server location will be used to sent your email. If it not set or empty, the email location will be randomly selected. Value: asia, europe or usa",
              "type": "text",
              "disabled": true
            },
            {
              "key": "ccEmail",
              "value": "The CC email.",
              "description": "Optional.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "bccEmail",
              "value": "The BCC email.",
              "description": "Optional.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "xMailer",
              "value": "The custom email header.",
              "description": "Optional.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "dedicatedIp",
              "value": "The dedicated IP address.",
              "description": "Optional. Available for the dedicated IP or the dedicated SMTP server subscription. The value: ianccpii-20.97.149.191=my.e9mail.com",
              "type": "text",
              "uuid": "8097f70a-1ada-492b-a1fe-5573af8b7d00",
              "disabled": true
            }
          ]
        },
        "url": {
          "raw": "https://service.5ymail.com/api-with-attachment",
          "protocol": "https",
          "host": [
            "service",
            "5ymail",
            "com"
          ],
          "path": [
            "api-with-attachment"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Send Emails With Multiple Attachments Using POST/Form-Data",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "attach",
              "description": "Optional. Up to 5 files per email: add one attach row per file. Max 20MB per file, 25MB for all files together.",
              "type": "file"
            },
            {
              "key": "attach",
              "description": "Optional. Another file. Repeat the attach key for each file, up to 5 (attach1 ... attach5 are also accepted).",
              "type": "file"
            },
            {
              "key": "apiKey",
              "value": "The API Key.",
              "description": "Required. It's the API Key, It can be found in your Subscription page, this page for English https://www.5ymail.com/en_US/anonymous-users/my-credits.html",
              "type": "text"
            },
            {
              "key": "authUser",
              "value": "Your 5yMail username.",
              "description": "Required. It's your 5yMail username",
              "type": "text"
            },
            {
              "key": "fromName",
              "value": "The from name.",
              "description": "Optional.",
              "type": "text"
            },
            {
              "key": "toEmail",
              "value": "The receipient email.",
              "description": "Required.",
              "type": "text"
            },
            {
              "key": "subject",
              "value": "Subject of email.",
              "description": "Required.",
              "type": "text"
            },
            {
              "key": "content",
              "value": "The email content",
              "description": "Required. It's the email content",
              "type": "text"
            },
            {
              "key": "lang",
              "value": "en",
              "description": "Optional, the value: en, fr, es, it, de, ru, zh or vi, default: en",
              "type": "text",
              "disabled": true
            },
            {
              "key": "replyEmail",
              "value": "The Reply email",
              "description": "Optional, the reply email you would like to receive the reply email from the receipient.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "replyName",
              "value": "The Reply name",
              "description": "Optional, the reply name that the receipient will see.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "serverLocation",
              "value": "usa",
              "description": "The email server location will be used to sent your email. If it not set or empty, the email location will be randomly selected. Value: asia, europe or usa",
              "type": "text",
              "disabled": true
            },
            {
              "key": "ccEmail",
              "value": "The CC email.",
              "description": "Optional.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "bccEmail",
              "value": "The BCC email.",
              "description": "Optional.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "xMailer",
              "value": "The custom email header.",
              "description": "Optional.",
              "type": "text",
              "disabled": true
            },
            {
              "key": "dedicatedIp",
              "value": "The dedicated IP address.",
              "description": "Optional. Available for the dedicated IP or the dedicated SMTP server subscription. The value: ianccpii-20.97.149.191=my.e9mail.com",
              "type": "text",
              "disabled": true
            }
          ]
        },
        "url": {
          "raw": "https://service.5ymail.com/api-with-attachments",
          "protocol": "https",
          "host": [
            "service",
            "5ymail",
            "com"
          ],
          "path": [
            "api-with-attachments"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Email Details by Email ID",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "https://service.5ymail.com/api/{emailId}?apiKey=The API Key.&authUser=Your 5yMail username.",
          "protocol": "https",
          "host": [
            "service",
            "5ymail",
            "com"
          ],
          "path": [
            "api",
            "{emailId}"
          ],
          "query": [
            {
              "key": "apiKey",
              "value": "The API Key.",
              "description": "Required. It's the API Key, It can be found in your Subscription page, this page for English https://www.5ymail.com/en_US/anonymous-users/my-credits.html"
            },
            {
              "key": "authUser",
              "value": "Your 5yMail username.",
              "description": "Required. It's your 5yMail username"
            },
            {
              "key": "lang",
              "value": "en",
              "description": "Optional, the value: en, fr, es, it, de, ru, zh or vi, default: en",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    }
  ]
}