<?php

 $pathRoot = $_SERVER['DOCUMENT_ROOT'];
include_once  $pathRoot ."/saia/api/v1/sendmail/mail_sender.php";
$mailSender = new MailSender();
$mailSender->fromEmail= "developer@pocketstylists.com";
$mailSender->fromName = "Dev";
$mailSender->subject = "Test email";
$mailSender->toEmail = "gits.sa@gmail.com";
$mailSender->toName = "Emile";
$mailSender->contentPlainText = "This is a test";
$mailSender->apiKey = "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";
$mailSender->pathToLib = $pathRoot ."/saia/api/v1/libs/sendgrid/sendgrid-php.php";
$mailSender->sendMail();


?> 