Welcome Guest, Not a member yet? Register   Sign In
Emailing class shows a blank screen after sending
#1

[eluser]stuart_g[/eluser]
I'm using the Code Igniter email class to send approximately 1000 emails, using the batch mode setting and sending in batches of 200. It's working successfully (I've checked the exchange server logs), but it's showing a blank screen to the user when they send an email.

All the email processing is in its own function, and at the end of the function there's a redirect() to send them back to a visible page:

Code:
$this->email->send();
redirect('/admin', 'refresh');

Any idea why it's not reaching the redirect? From the email server log it appears as though the emails are sent in about 6 seconds, so not sure if PHP is waiting for the send() function to return still.
#2

[eluser]überfuzz[/eluser]
Typoddzilla?
#3

[eluser]stuart_g[/eluser]
[quote author="überfuzz" date="1259778047"]Typoddzilla?[/quote]

Do you mean to say there's a typo in the redirect? That's not the case, as the website would display my custom 404 page if it was. Also, the exact same redirect is used elsewhere in the controller.




Theme © iAndrew 2016 - Forum software by © MyBB