Welcome Guest, Not a member yet? Register   Sign In
Email Helper only sends one of three emails successfully
#2

[eluser]Myles Wakeham[/eluser]
A couple of things look a bit unusual to me. Maybe its just that I code differently than this, but you are referencing the parent as $CI. But rather than the parent loading the email library, you have the function doing it for the parent. For me, that is a bit backwards - I'd have the parent load the library, and let the function reference the loaded library by the parent. Otherwise you are just repeating the process over and over. That might be why its failing on subsequent sends. Just a thought...

And one other thing - are you absolutely sure that the problem is in the code? Depending on your SMTP server that is dispatching your emails, or the ISP that hosts it, they might be blocking outgoing emails due to some restriction.

Have you tried a simple PHP mail() command to see if that makes any difference?

Myles


Messages In This Thread
Email Helper only sends one of three emails successfully - by El Forum - 09-21-2009, 01:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB