Simplify cpanel deploy file
This commit is contained in:
@@ -22,7 +22,10 @@ class ExampleMail extends Mailable
|
|||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: 'Example Mail',
|
subject: 'Example Mail',
|
||||||
from: new Address(env("MAIL_FROM_ADDRESS"),env("MAIL_FROM_NAME"))
|
from: new Address(
|
||||||
|
config('mail.from.address'),
|
||||||
|
config('mail.from.name')
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user