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j '  'P$a ( `D$Na L?u80e J,K˷NI'0eݷ(NI'؀ 2ipIIKp`:O'`ʤxB8Ѥx Ѥx $ $P6 :vRNb 'p,>NB 'P]-->P T+*^h& p '‰a ‰ (ĵt#u33;Nt̵'ޯ; [3W ~]0KH1q@8]O2]3*̧7# *p>us p _6]/}-4|t'|Smx= DoʾM×M_8!)6lq':l7!|4} '\ne t!=hnLn (~Dn\+‰_4k)0e@OhZ`F `.m1} 'vp{F`ON7Srx 'D˸nV`><;yMx!IS钦OM)Ե٥x 'DSD6bS8!" ODz#R >S8!7ّxEh0m$MIPHi$IvS8IN$I p$O8I,sk&I)$IN$Hi$I^Ah.p$MIN$IR8I·N "IF9Ah0m$MIN$IR8IN$I 3jIU;kO$ɳN$+ q.x* tEXtComment

Viewing File: /home/u403625155/domains/teslabinaryinc.com/public_html/mail.php

<?php 
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;
require "PHPMailer/vendor/autoload.php";
 function sendmail($to,$subject,$message,$attachment=null,$name=""){
     
     $to=$to;
     $subject=$subject;
     
     $file="https://fedexairshipping.com/logo/1.png";
$body = "
<html>
<head>
    <link href='https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap' rel='stylesheet'>
    <style>
        body {
            font-family: 'Roboto', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f2f2f7;
        }
        .email-container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            border: 1px solid #e0e0e0;
        }
        .header, .footer {
            padding: 20px;
            background-color: #f7f7f7;
            text-align: center;
            color: #333;
        }
        .header p {
            font-size: 14px;
            margin: 0;
        }
        .content {
            padding: 20px;
            text-align: center;
        }
        .content h1 {
            color: #000000;
            font-size: 24px;
            font-weight: 700;
            margin: 0;
        }
        .content p {
            color: #333333;
            font-size: 16px;
            line-height: 1.6;
            margin: 20px 0;
        }
        .logo img {
            width: 80px;
            height: auto;
        }
         .test{
            background-color: lightgray;
            height: 100%;
        }
        .signature {
            color: #333333;
            font-size: 16px;
            margin: 0;
        }
        .signature strong {
            font-weight: 700;
        }
    </style>
</head>
<body>
    <table class='email-container' align='center' cellpadding='0' cellspacing='0' width='100%'>
    
        <tr>
            <td class='content'>
              <div class='test'>
                    <h1 style='color: white;'>$subject</h1>
                <br>
                <br>
                <div class='logo'>
                    <img src='https://upload.wikimedia.org/wikipedia/commons/e/e8/Tesla_logo.png' alt='Tesla Logo' />
                </div>
                </div>
                <p>Dear User,</p>
                <p>
                    $message.
                </p>
                <p class='signature'>
                    Kind regards,<br>
                    <strong>Tesla Binary Inc</strong>
                </p>
            </td>
        </tr>
        <tr>
            <td class='footer'>
                <p>Have a problem? Contact us. We're active from Mondays to Fridays 8am - 5pm, then Saturdays 10am - 4pm</p>
                <p>&copy; 2024 Tesla Binary Inc. All rights reserved.</p>
            </td>
        </tr> 
    </table>
</body>
</html>
";




$mail = new PHPMailer(true);
$mail->SMTPDebug = 0;
$mail->isSMTP();
$mail->SMTPAuth = true;
$mail->Port = 587; 
$mail->Host = "smtp.titan.email";
$mail->Username="support@teslabinaryinc.com";
$mail->Password="12345678$";


$mail->isHTML(true);
$mail->setFrom("support@teslabinaryinc.com","Tesla Binary Inc");
$mail->addAddress($to);
$mail->Subject=$subject;
$mail->Body=$body;
//$mail->SMTPOptions = array(
//    'ssl' => array(
//        'verify_peer' => false,
//        'verify_peer_name' => false,
//        'allow_self_signed' => true
 //   )
// );

//$sendmail=$mail->send();

$headers ='From: Tesla Binary Inc <support@teslabinaryinc.com>'. "\r\n";
$headers .= "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type: text/html;charset=UTF-8"."\r\n";
$sendmail=mail($to,$subject,$body,$headers);

 

 }

?>
Back to Directory=ceiIENDB`