Fix errors in mailstream addon

This commit is contained in:
Art4 2024-11-27 11:52:59 +00:00
parent 1346a92505
commit e488f597be
2 changed files with 3 additions and 2 deletions

View file

@ -378,7 +378,7 @@ function mailstream_send(string $message_id, array $item, array $user): bool
if (!$address) {
$address = $user['email'];
}
$mail = new PHPmailer();
$mail = new PHPMailer();
try {
$mail->XMailer = 'Friendica Mailstream Addon';
$mail->SetFrom($frommail, mailstream_sender($item));