Welcome Guest, Not a member yet? Register   Sign In
Can't send mail in "Forget password" function when logging
#2

[eluser]approacher[/eluser]
I guess you might have edited the system/libraries/Email.php
if so nothing to do with that.

first be ensure that if chuahaiquang.com.vn actually providing smtp service

why to wonder. create your gmail account if you dont have and enable the smtp service after going to setting.
then it works .gmail provides free smtp service

then inside config folder create file something like Email.php and copy paste the below code

Code:
$config['protocol']     = 'smtp';
    //$config['mailpath']     = '/usr/sbin/sendmail';
      $config['charset']      = 'iso-8859-1';
    //$config['wordwrap']     = TRUE;
    //$config['mailtype']     = 'html';
      $config['smtp_host']    = 'smtp.gmail.com';
      $config['smtp_user']    = 'gmail [email protected]';
      $config['smtp_pass']    = 'gmail password';
      $config['smtp_port']    = 25;
      $config['smtp_timeout'] = 30;
      $config['charset']      ='utf-8';  
      $config['newline']      ="\r\n";

Then edit php.ini ====>SMTP= smtp.gmail.com


Messages In This Thread
Can't send mail in "Forget password" function when logging - by El Forum - 05-19-2011, 12:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB