HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /var/www/grapossconnect/include/testmail.php
<?php
// require 'class.phpmailer.php';
// function smtpMail($fromname,$replyto,$title, $subject, $content, $email_id)
// {

// 	$mail = new PHPMailer();
// 	$mail->IsSMTP(true); // SMTP
// 	$mail->SMTPAuth   = true;  // SMTP authentication
// 	$mail->SMTPSecure = 'tls';
// 	$mail->Mailer = "smtp";
// 	$mail->SMTPDebug = false;
// 	$mail->CharSet = "utf-8";

// 	//Ask for HTML-friendly debug output
// 	$mail->Debugoutput = 'html';
// 	$mail->Host       = "email-smtp.ap-south-1.amazonaws.com"; // Amazon SES server, note "tls://" protocol
// 	$mail->Port       = 587;                    // set the SMTP port
// 	$mail->Username   = 'AKIATU377FQG5YXAKY4J';  // SES SMTP  username
// 	$mail->Password   = 'BM4tipPjPdcNQBq1ukMkEQSdInAUP01SsI25XGIXIeEE';
// 	$mail->SetFrom($fromname, $title);
// 	$mail->AddReplyTo($replyto, $title);
// 	$mail->Subject = $subject;
// 	$mail->MsgHTML($content);
// 	$mail->AddAddress($email_id, $email_id);
// 	if ($mail->Send()) {
// 		return 1;
// 	} else {
// 		return 0;
// 	}
// }

// $subject = "Message for Partner";
// 	$adminEmail = 'info@grapossconnect.com';
// 	$msg .= "<p>Your details</p><br>"
// 		. "<p> Name<b>Gulfam</b>.</p>"
// 		. "<p> Mobile Number : <b>7861019191</p>"
// 		. "<p> Message : <b>hello test</p>
// 		<p>&nbsp;</p>
// 		<p>&nbsp;</p>
// 		<p>&nbsp;</p>
// 		<p>Regards,</p>
// 		<p>Graposs Connect</p>
// 		</body></html>";

//     $title = "Graposs Connect";
// 	$fromname = "info@grapossconnect.com";
//     $email = 'gulfam.ali@sarkaripariksha.com';
// 	smtpMail($fromname, $adminEmail, $title, $subject, $msg, $email);
?>