Creating a Mandrill service

Tested sending an email via Mandrill’s API also. No issues calling /messages/send.json according to their API docs.

  1. Configured Remote Web Service:

  2. Called POST /rest/mandrillapi/messages/send.json with the following body:

     {
     "key": "hYn7IsUYWE7H6UlIfT_OEr",
     "message": {
         "html": "<p>Here is some text in the body.</p>",
         "subject": "This email was sent from DreamFactory",
         "from_email": "sender@dreamfactory.com",
         "from_name": "Jeffrey's DreamFactory",
         "to": [
             {
                 "email": "recipient@dreamfactory.com",
                 "name": "Jeffrey",
                 "type": "to"
             }
         ]
       }
     }
    
  3. Received the following response:

     [
        {
     	"email": "recipient@dreamfactory.com",
     	"status": "sent",
     	"_id": "45a30d2f8a5044618d40a8d24d7457b3",
     	"reject_reason": null
        }
     ]
    

The record of sending this email via the API is found in my Mandrill Dashboard.

Now I’ll try calling /users/ping2.json.