CodeIgniter Forums
Send tank auth activation email stuck on "waiting" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Send tank auth activation email stuck on "waiting" (/showthread.php?tid=43791)



Send tank auth activation email stuck on "waiting" - El Forum - 07-23-2011

[eluser]ilSignorCarlo[/eluser]
Hi,
I'm trying to use the Tank Auth library. I followed the installation steps and I'm trying to register a new user.

I set the email configuration this way:

Code:
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['newline'] = '\r\n';

$config['protocol']='smtp';

$config['smtp_host']='ssl://smtp.gmail.com';

$config['smtp_port']='465';

$config['smtp_timeout']='30';

$config['smtp_user']='[email protected]';

$config['smtp_pass']='mypassword';

$config['charset']='utf-8';

$config['newline']='\r\n';

when I try to send an email it remains stuck on "waiting for localhost". After about ten minutes or so it appears the confirmation message that it sent the email, but the email doesn't arrive.

Any suggestion?


Send tank auth activation email stuck on "waiting" - El Forum - 07-24-2011

[eluser]toopay[/eluser]
Can you actually send the email via smtp from your local computer?


Send tank auth activation email stuck on "waiting" - El Forum - 07-24-2011

[eluser]ilSignorCarlo[/eluser]
[quote author="toopay" date="1311547062"]Can you actually send the email via smtp from your local computer?[/quote]

yes, I've just tried and I can. I tried putting the settings for the email both in the email.php config file or directly in the controller and it works in both cases.

Is there anything I can check?