1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for Postmark from

This commit is contained in:
Hillel Coren 2018-04-25 15:50:32 +03:00
parent 87f7218b87
commit 525162e27e

View File

@ -154,7 +154,7 @@ class Mailer
$client = new PostmarkClient(config('services.postmark'));
$message = [
'To' => $toEmail,
'From' => "{$fromName} <{$fromEmail}>",
'From' => sprintf('"%s" <%s>', addslashes($fromName), $fromEmail),
'ReplyTo' => $replyEmail,
'Subject' => $subject,
'TextBody' => $textBody,