Sending email from gmail now causing fatal timeout error... it used to work :-s |
[eluser]boltsabre[/eluser]
Hi everyone, not sure what I've done here, hoping it's just a brain fade and someone can pick the error up in 2 seconds flat! Okay, I cannot send (anymore, used to work...) emails from my application via gmail anymore. - Log files don't show anything helpful, no errors, just the DEBUG logs. - Through my own testing using echo statements, I've determined that $CI->email->send() never finishes, in fact after 300 seconds I get a fatal timeout on my screen. Quote:Fatal error: Maximum execution time of 300 seconds exceeded in C:\MySites\www.localdownundr.com\system\libraries\Email.php on line 1869 Here is my config/email file, I have some stuff set up in there for local vs testing/staging server. Code: if (ENVIRONMENT != 'development') { And this is the email helper file: Code: function send_account_activation_code($email, $activationCode){ I'm working on localhost, with it mapped to a domain name, www.localdownundr.com When running from my test/stage server, which is using a real live email server, it works fine, the email sends, it's just locally that I've started to have this problem. This is driving me NUTS... been trying to debug this for almost 5 hours now, any help at this stage would be greatly appreciated!!! |
Welcome Guest, Not a member yet? Register Sign In |