Pas besoin d'une documentation interminable !
Notre API est très simple à utiliser, regardez :REQUETE : https://api.emailroot.com/smtp/mail/send/
ACTION : Envoyer un email via l'API
$apikey = "Votre API";
$sender_name = urlencode("Votre nom");
$sender_email = "votremail@domaine.com";
$mail_subject = urlencode("API TEST OK");
$mail_body = urlencode("HELLO WORLD ! EMAIL TEST");
$recipient_email = "mailDestination@domaine.com";
$URL = "https://api.emailroot.com/smtp/mail/send/?apikey=".$apikey."&sender_name=".$sender_name."&sender_email=".$sender_email."&recipient_email=".$recipient_email ."&charset=".$charset."&mail_subject=".$mail_subject."&mail_body=".$mail_body."&format=html";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $URL);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
echo $output = curl_exec($ch);
curl_close($ch);
$sender_name = urlencode("Votre nom");
$sender_email = "votremail@domaine.com";
$mail_subject = urlencode("API TEST OK");
$mail_body = urlencode("HELLO WORLD ! EMAIL TEST");
$recipient_email = "mailDestination@domaine.com";
$URL = "https://api.emailroot.com/smtp/mail/send/?apikey=".$apikey."&sender_name=".$sender_name."&sender_email=".$sender_email."&recipient_email=".$recipient_email ."&charset=".$charset."&mail_subject=".$mail_subject."&mail_body=".$mail_body."&format=html";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $URL);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
echo $output = curl_exec($ch);
curl_close($ch);