Easy-SMTP :: API - cURL

Follow

Connecting with your cURL application is easy. Check out this sample code.

curl -X POST -v \
    -u accountKey\\username:password \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    --data-binary \
       '{
           "FromAddress": "",
           "Recipients": [
               {
                   "Address": ""
               }
           ],
           "Subject": "",
           "BodyText": "",
           "BodyHtml": "",
           "Headers": {
               "[key]": ""
           },
           "Attachments": [
               {
                   "Filename": "",
                   "Data": "",
                   "ContentDisposition": "",
                   "Cid": ""
               }
           ],
           "Tracking": false,
           "FooterAddress": "",
           "SignatureDomain": ""
        }' \
    https://services.reachmail.net/easysmtp/{AccountId}
Have more questions? Submit a request

Comments

Powered by Zendesk