Skip to content

Commit

Permalink
Fixed #282 -- Envio de emails automáticos não está funcionando
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonmoura committed Apr 2, 2022
1 parent 01850f8 commit c50e1d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/classes/Tools.php
Expand Up @@ -104,6 +104,7 @@ public static function sendMail($body,$altbody,$subject,$to,$fromMail=EMAIL_FROM
$objMailer->Password = EMAIL_PASSWORD;
$objMailer->IsSMTP();
$objMailer->SMTPAuth = true;
$objMailer->SMTPSecure = 'tls';

$objMailer->IsHTML(true);
$objMailer->ClearAddresses();
Expand Down

0 comments on commit c50e1d4

Please sign in to comment.