Laravel: How to access config/Mail variables

Viewed 6792

I need to get address and name variables on my Mail.php config:

'from' => ['address' => env('MAIL_USERNAME'), 'name' => env('MAIL_NAME')],

I tried this:

Config::get('mail.from.*.name');
Config::get('mail.from["name"]');  

But it doesn't work, what do I do to get them? Thanks.

3 Answers
Related