Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.224.51.49
Current Path : /var/www/html/sms/ |
| Current File : /var/www/html/sms/mail.php |
<?php
ini_set('display_errors', 'on');
ini_set('memory_limit','900M');
ini_set('max_execution_time',0);
include("sendGridMail.php");
error_reporting(E_ALL);
$subject = trim($_GET['subject']);
$body = trim($_GET['body']);
$emailid = trim($_GET['emailid']);
$cc = trim($_GET['cc']);
//var_dump($emailid);die();
if($subject == '' || $body == '' || $emailid == '' || $cc == '')
{
die();
}
$resp = sendGridMail($emailid,$subject,$body,$cc);
echo $resp;
?>
|