mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 01:09:35 +05:30
(refactor): changed smtp to tls
This commit is contained in:
@@ -35,7 +35,7 @@ function send_contact_email($name, $email, $message) {
|
||||
$mail->SMTPAuth = true;
|
||||
$mail->Username = $_ENV['SMTP_USER'];
|
||||
$mail->Password = $_ENV['SMTP_PASS'];
|
||||
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
|
||||
$mail->SMTPSecure = "tls";
|
||||
$mail->Port = $_ENV['SMTP_PORT'];
|
||||
|
||||
$mail->setFrom($_ENV['SMTP_USER'], 'contact@neosubhamoy.com');
|
||||
|
||||
Reference in New Issue
Block a user