How to Install your Easy-SMTP using a cURL application


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}
×

Contact Us

Support Resources

ReachMail is here to help. If you have any questions, please use the form below or contact us at:

Support Hours: 8am - 6pm (Central Time) Mon-Fri