Email class 500 error (internal server error) |
[eluser]Thyvo[/eluser]
I'm messing around for like 2 days with a error I cant resolve, Each time I wish to user this code (see below) I'm getting a 500 internal server error, no CI error or php error. Please someone know what the problem is? ps. commented code works but if I wish to use a loop it crashes Code: <?php Please someone, I really need to get this up as soon as possible Grtz Thyvo
[eluser]rthut[/eluser]
Are you trying to send through your local mail server? If so, why do not you try using the SMTP protocol? Here is Google SMTP example Code: $config = Array(
[eluser]CroNiX[/eluser]
User Guide: Database Results A few things. This returns an array of results. Code: $emails = $inc->result(); If you are only retrieving a single row, use Code: $inc->row(); Or else you would need to access like $emailss[0]->email (or else iterate over the $emailss array). Look at your retrieved data by doing a print_r($emails) right after you retrieve $emails to see what I mean. |
Welcome Guest, Not a member yet? Register Sign In |