Файловый менеджер - Редактировать - /home/d46091/msmebiz.shop/mail.php
Назад
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; $emails = "kfsdeveloper3@gmail.com"; require 'vendor/autoload.php'; $mail = new PHPMailer(true); try { $mail->isSMTP(); $mail->CharSet = 'UTF-8'; $mail->Host = 'msmebiz.shop'; $mail->SMTPAuth = true; $mail->Username = 'info@msmebiz.shop'; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom('info@msmebiz.shop', 'KFS DEV'); $mail->addAddress($emails); $mail->isHTML(true); $mail->Subject ="📨 Test Email from KFS Developer – Just Checking!"; $mail->Body = '<body style="font-family: Arial, sans-serif; color: #333;"> Hello 👋,<br><br> This is a test email sent from <strong>KFS Developer 🛠️</strong> to check email deliverability from a2hosting.com,<br> formatting, and functionality.<br><br> Best regards,<br> <strong>KFS Developer</strong><br> </body>'; $mail->send(); } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка