Email sent and received but webpage still in "wait for response .." for 1 minute |
[eluser]Unknown[/eluser]
Hello, I correctly managed sending emails with CI, but there's a little issue that bother me: I send and receive the emails in about 5 seconds, but the html page stays in "waiting for response .." for 1 minute. After $this->email->send(); I do a redirect. So after 1 minute the page redirects to the new page. I use the following private smtp server configuration: $email_config['protocol'] = 'smtp'; $email_config['smtp_host'] = 'mail.xxxxxxxx.it'; $email_config['smtp_user'] = '[email protected]'; $email_config['smtp_pass'] = 'xxxxxxxx'; $email_config['smtp_port'] = 25; //$email_config['smtp_timeout']= 0; $email_config['wordwrap'] = TRUE; $this->email->initialize($email_config); I tried change smtp_timeout setting but it doesn't do anything. So my question is: is it an issue of my smtp server or of the script ? Can I do something ? Thank you. Bye Matteo |
Welcome Guest, Not a member yet? Register Sign In |