replace env with config variable for from address

This commit is contained in:
Godfrey M
2024-11-18 10:54:03 -08:00
parent 3fb543bf03
commit d14f43fbbe
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class CheckoutLicenseMail extends Mailable
*/
public function envelope(): Envelope
{
$from = new Address(env('MAIL_FROM_ADDR','service@snipe-it.io'));
$from = new Address(config('mail.from.address','service@snipe-it.io'));
return new Envelope(
from: $from,