jeudi 3 décembre 2015

Laravel 5.1 multiple variables in config::get

Im trying to modify a file of my app in order to include also a name except from the email address that is included in the sent email, but i failed.

I can see two instances that are using config::get to parse the email.

I tried modifying them but with no luck.

Original code includes:

'from_email' => Config::get('database.email'), 

and

->setFrom(Config::get('database.email'))

I did these changes and they failed. Do I have any syntax wrongs there?

'from_email' => Config::get('database.email', 'My Name'),

and

->setFrom(Config::get('database.email', 'My Name'))



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire