Send Mail Serverless

FREEMIUM
By Firebese | Updated 1ヶ月前 | Email
Popularity

9.4 / 10

Latency

3,607ms

Service Level

51%

Health Check

N/A

README

How to use


Minimal post data :

If you want to test and send an email, use this as a minimal config in your post, you must change sender and recipient emails addresses

{
  "personalizations": [
    {
      "to": [
        {
          "email": "to@example.com",
          "name": "Recipient name"
        }
      ]
    }
  ],
  "from": {
    "email": "sender@example.com",
    "name": "Sender name"
  },
  "subject": "Example subject",
  "content": [
    {
      "type": "text/html",
      "value": "Hello world <b>Html</b>"
    }
  ]
}

To be sure that your email gets into the recipient inbox, add your domain DKIM config

{
    "personalizations": [
        {
            "to": [
                {
                    "email": "to@example.com",
                    "name": "Recipient name"
                }
            ],
            "dkim_domain": "example.com",
            "dkim_selector": "default",
            "dkim_private_key": "Private key Encoded in Base64",
            "dkim_identifier": "dkim@example.com Sender Name"
        }
    ],
    "from": {
        "email": "sender@example.com",
        "name": "Sender name"
    },
    "reply_to": {
        "email": "replyto@example.com",
        "name": "Reply to Name"
    },
    "subject": "Example subject",
    "content": [
        {
            "type": "text/html",
            "value": "Hello world <b>Html</b>"
        },
        {
            "type": "text/plan",
            "value": "Hello world Text"
        }
    ],
    "headers": {
        "List-Unsubscribe": ", "
    }
}

Send Mail Status Codes

Status: 202 - Success
Status: 400 - Bad Request
Status: 403 - The user does not have access to this feature
Status: 413 - Payload too large - The total message size should not exceed 20MB.
This includes the message itself, headers, and the combined size of any attachments.
Status: 500 - Internal Server Error
Followers: 2
API Creator:
Rapid account: Firebese
Firebese
firebese
Log In to Rate API
Rating: 3 - Votes: 2