Closed shinesoftware closed 10 years ago
Solved
$settings = array(
'transport_class' => 'Zend\Mail\Transport\Smtp',
'options_class' => 'Zend\Mail\Transport\SmtpOptions',
'options' => array(
'host' => 'smtp.gmail.com',
'connection_class' => 'login',
'connection_config' => array(
'ssl' => 'tls',
'username' => 'YOUR-USERNAME-HERE@gmail.com',
'password' => 'YOUR-PASSWORD-HERE'
),
'port' => 587
)
);
Hi,
thanks for your piece of code! How have I to set the SMTP configuration in your module?
thanks