• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.