I have an array that looks like this:
'application_noreply_email' => array(
'name' => 'example.com',
'host' => 'smtp.gmail.com',
'connection_class' => 'login',
'port' => '587',
'connection_config' => array(
'ssl' => 'tls',
'username' => 'username@gmail.com',
'password' => 'pass',
),
),
How can i get the value of username?
I have tried using it like this, as you suggeste but it doesnt work.
$config['application_noreply_email']['username']
but this works in different situations $config['application_noreply_email']