Ejemplo en PHP

Puedes realizar envíos transaccionales desde PHP usando cURL

Uso básico

<?php
$data = '{
"from": { "email": "[email protected]" },
"subject": "Asunto de prueba",
"content": {"html": "<h1>Funciona!</h1>"},
"recipients": [{"to": {"email": "[email protected]"}}]
}';
$ch = curl_init('https://transactional.myperfit.com/v1/mail/send');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"Authorization: Bearer API_KEY",
"Content-Type: application/json"
));
$result = curl_exec($ch);