php - send verification mail form my live site (domain email address) using cpanel -
i'm working on project in codeigniter follows mvc pattern, i've created model send verification email website's signed members. code working using google's smtp on localhost
site live , don't know protocols , web-mail, i'm new this.. localhost
code here:
$config = array( 'protocol' => 'smtp', 'smtp_host' => 'ssl://smtp.googlemail.com', 'smtp_port' => 465, 'smtp_user' => 'my mail', 'smtp_pass' => 'my password', 'mailtype' => 'html', 'charset' => 'iso-8859-1', 'wordwrap' => true );
now changes needed use through web mail cpanel??
in webmail settings find smtp settings. ports same in major case. need change host, username , password per new server.
there link "configure mail client" in email section in case using standard cpanel setup , customization not done hosting provider
edit
ok, here direct steps.
- login cpanel
- go emails section
- go configure mail client
- now check details host port etc.
'smtp_host' => 'ssl://smtp.googlemail.com', //this given on cpanel
'smtp_port' => 465, //this given on cpanel
'smtp_user' => 'my mail', // email provided host so, username@domain.com
'smtp_pass' => 'my password' // password username@domain.com
ps: can use gmail settings using if own site.
Comments
Post a Comment