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.

  1. login cpanel
  2. go emails section
  3. go configure mail client
  4. 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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -