Skip to content

Commit

Permalink
adds mail from name to mail envelope
Browse files Browse the repository at this point in the history
  • Loading branch information
Godmartinz committed Dec 3, 2024
1 parent 2ad1407 commit 16283b8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/Mail/CheckinAccessoryMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(Accessory $accessory, $checkedOutTo, User $checkedIn
*/
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,
Expand Down
2 changes: 1 addition & 1 deletion app/Mail/CheckinAssetMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(Asset $asset, $checkedOutTo, User $checkedInBy, $not
*/
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,
Expand Down
2 changes: 1 addition & 1 deletion app/Mail/CheckinLicenseMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(LicenseSeat $licenseSeat, $checkedOutTo, User $check
*/
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,
Expand Down
2 changes: 1 addition & 1 deletion app/Mail/CheckoutAccessoryMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(Accessory $accessory, $checkedOutTo, User $checkedOu
*/
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,
Expand Down
2 changes: 1 addition & 1 deletion app/Mail/CheckoutAssetMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct(Asset $asset, $checkedOutTo, User $checkedOutBy, $no
*/
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,
Expand Down
2 changes: 1 addition & 1 deletion app/Mail/CheckoutConsumableMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct(Consumable $consumable, $checkedOutTo, User $checked
*/
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,
Expand Down
2 changes: 1 addition & 1 deletion app/Mail/CheckoutLicenseMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct(LicenseSeat $licenseSeat, $checkedOutTo, User $check
*/
public function envelope(): Envelope
{
$from = new Address(config('mail.from.address'));
$from = new , config('mail.from.name'));

return new Envelope(
from: $from,
Expand Down

0 comments on commit 16283b8

Please sign in to comment.