switch to phpmailer to send emails #27

Merged
florent.lesaout merged 2 commits from anthony.bourguignon/SiteWebAstrolabe:master into master 2023-01-06 18:20:45 +01:00
Showing only changes of commit dca1b7ff4c - Show all commits

View File

@ -66,8 +66,7 @@ $mail = new PHPMailer(true);
//Recipients //Recipients
$mail->setFrom($myEmail); $mail->setFrom($myEmail);
//$mail->addAddress($myEmail); $mail->addAddress($myEmail);
$mail->addAddress('anthony@6clones.fr');
$mail->addReplyTo($emailAddress, $name); $mail->addReplyTo($emailAddress, $name);
// Content // Content