Merge pull request #15918 from Godmartinz/mail_name_fix
Some checks failed
Crowdin Action / upload-sources-to-crowdin (push) Has been cancelled
Docker images (Alpine) / docker (push) Has been cancelled
Docker images / docker (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Has been cancelled
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Has been cancelled
CodeQL Security Scan / CodeQL Security Scan (javascript) (push) Has been cancelled
Codacy Security Scan / Codacy Security Scan (push) Has been cancelled

Adds `MAIL_FROM_NAME` to mail envelope
This commit is contained in:
snipe 2024-12-03 17:17:26 +00:00 committed by GitHub
commit 43d66a8fcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View file

@ -34,7 +34,7 @@ class CheckinAccessoryMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,

View file

@ -43,7 +43,7 @@ class CheckinAssetMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,

View file

@ -34,7 +34,7 @@ class CheckinLicenseMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,

View file

@ -37,7 +37,7 @@ class CheckoutAccessoryMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,

View file

@ -52,7 +52,7 @@ class CheckoutAssetMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,

View file

@ -38,7 +38,7 @@ class CheckoutConsumableMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,

View file

@ -36,7 +36,7 @@ class CheckoutLicenseMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new Address(config('mail.from.address'), config('mail.from.name'));
return new Envelope(
from: $from,