smtp configuration on wamp

 

$SiteSettings[‘smtp’]=1;
$SiteSettings[‘smtp_host_name’]=’smtp.gmail.com’;
$SiteSettings[‘smtp_host_port’]=25;
$SiteSettings[‘smtp_timeout’]=20;
$SiteSettings[‘smtp_ssl’]=0;
$SiteSettings[‘smtp_tls’]=1;
$SiteSettings[‘smtp_user’]=’***@gmail.com’;
$SiteSettings[‘smtp_password’]=’***’;

For SSL connection to Enable OpenSSL extension (PHP > PHP Extensions > php_openssl) in your WAMP

Advertisements