File manager - Edit - /home/autoph/public_html/connect/sample_mail.php
Back
<?php date_default_timezone_set('Asia/Manila'); header('Content-Type: application/json'); $sqlUser = 'autoph_arnel'; $sqlDatabase = 'autoph_connect'; $sqlPass = 'Hke@2001'; $toDate = date_create() ->format("Y/m/d"); $myDate = date_create() ->format("Y-m-d"); $toTime = date('H:i:s'); $dateTime = $myDate . " " .$toTime; $message="<div style='background:pink;padding:10px;border:1px solid red;width:100%'>This is a sample html message</div>"; mail("apusana2@autohubgroup.com", "test", "$message", "From:aendaya@autohubgroup.com"); echo $message; ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings