Welcome Guest, Not a member yet? Register   Sign In
tank auth activation email
#4

[eluser]andes[/eluser]
I got it working. I entered the following code in my controller file. And to make Tank AUTH work, I entered this code below in the _send_email function in the auth.php controller file

Code:
$this->load->library('email');
$config['protocol'] = "smtp";
$config['smtp_host'] = "ssl://smtp.googlemail.com";
$config['smtp_port'] = "465";
$config['smtp_user'] = "gmail user name";//also valid  Google Apps Accounts
$config['smtp_pass'] = "gmail password";
$config['charset'] = "utf-8";
$config['mailtype'] = "html";
$config['newline'] = "\r\n";
$this->email->initialize($config);

hope it helps anyone else having smtp problems.

I got the code from the following thread

http://ellislab.com/forums/viewthread/84689/P15/


Messages In This Thread
tank auth activation email - by El Forum - 08-06-2011, 08:19 AM
tank auth activation email - by El Forum - 08-06-2011, 11:35 AM
tank auth activation email - by El Forum - 08-06-2011, 01:23 PM
tank auth activation email - by El Forum - 08-06-2011, 10:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB