debugging rsvp-submit.php
This commit is contained in:
1 parent
945238f3ca
commit
6c3fdd6b96
10 files changed
+82
-62
No files matched your search
+17
-7
@@ -105,13 +105,23 @@ try {
|
||||
$mail->CharSet = 'UTF-8';
|
||||
|
||||
$mail->isSMTP();
|
||||
$mail->Host = $_ENV['SMTP_HOST'];
|
||||
$mail->SMTPAuth = true;
|
||||
$mail->Username = $_ENV['SMTP_USER'];
|
||||
$mail->Password = $_ENV['SMTP_PASS'];
|
||||
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||
$mail->Port = (int)$_ENV['SMTP_PORT'];
|
||||
$mail->Timeout = 10;
|
||||
|
||||
$mail->Host = gethostbyname($_ENV['SMTP_HOST']);
|
||||
|
||||
$mail->SMTPAuth = true;
|
||||
$mail->Username = $_ENV['SMTP_USER'];
|
||||
$mail->Password = $_ENV['SMTP_PASS'];
|
||||
|
||||
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||
$mail->Port = (int)$_ENV['SMTP_PORT'];
|
||||
|
||||
$mail->Timeout = 10;
|
||||
|
||||
$mail->SMTPOptions = [
|
||||
'ssl' => [
|
||||
'peer_name' => $_ENV['SMTP_HOST']
|
||||
]
|
||||
];
|
||||
|
||||
$mail->setFrom($_ENV['FROM_EMAIL'], $_ENV['FROM_NAME']);
|
||||
$mail->addAddress($_ENV['TO_EMAIL']);
|
||||
|
||||
Reference in new issue
Block a user