18 lines
725 B
Plaintext
18 lines
725 B
Plaintext
<?php #var/70_mail.php
|
|
|
|
define("MAILNOREPLY", "");
|
|
|
|
$mail = new PHPMailer\PHPMailer\PHPMailer();
|
|
//Server settings
|
|
$mail->SMTPDebug = 0; // Enable verbose debug output
|
|
$mail->isSMTP(); // Set mailer to use SMTP
|
|
$mail->Host = ''; // Specify main and backup SMTP servers
|
|
$mail->SMTPAuth = true; // Enable SMTP authentication
|
|
$mail->Username = ''; // SMTP username
|
|
$mail->Password = ''; // SMTP password
|
|
$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
|
|
$mail->Port = 587; // TCP port to connect to
|
|
$mail->CharSet = 'UTF-8';
|
|
$mail->Encoding = 'base64';
|
|
|
|
?> |