![]() |
Help for emial class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Help for emial class (/showthread.php?tid=40713) |
Help for emial class - El Forum - 04-16-2011 [eluser]paullo[/eluser] Hello good day,i will be glad if anyone can help me out to fix this bug,i has given me sleepless nights since last sunday and am yet to figure out what could be the cause. I used CI for a project and it has really been working perfectly earlier for almost a year now,and the system is no more working properly what could have been the cause please,can i anyone help. This is how it works,it get subscribers datas and send out email to them all at once but now is no more working,instead it will rather redirects a blank page to me. Here is the code that does the work in my controller folder function sendemail($emailmsg, $emailaddr, $subject, $name, $sender_email, $userid, $email_id='', $attachment1='', $attachment2='', $campaign_id='') { $param_data_email = array('email_message'=>$emailmsg, 'email_address'=>$emailaddr, 'email_subject'=>$subject, 'sender_name'=>$name, 'sender_email_addr'=>$sender_email, 'user_id'=>$userid, 'campaign_id'=>$campaign_id, 'send_all'=>'all', 'email_id'=>$email_id, 'attachment1'=>$attachment1, 'attachment2'=>$attachment2 ); //var_dump($param_data_email);exit; thread_page('/email_scheduler', hostname_from_url(base_url()), 'POST', array2param($param_data_email)); } Help for emial class - El Forum - 04-16-2011 [eluser]toopay[/eluser] Is this upgrade version issue? Help for emial class - El Forum - 04-16-2011 [eluser]paullo[/eluser] Thanks for your immediate response. Okay s it because am using the older version or what? so what and what do i have to add or remove from the url_helper or libarary? Help for emial class - El Forum - 04-17-2011 [eluser]toopay[/eluser] I want to know, are you experienced this problems after upgrade to latest version? Help for emial class - El Forum - 04-17-2011 [eluser]paullo[/eluser] No,am still using 1.7.3, anything that can help me? Help for emial class - El Forum - 04-17-2011 [eluser]toopay[/eluser] If you're using email class function in loop (foreach or while) statement, make sure you give some error flag. I suspect, it might be that the email class is break in somewhere on your loop statement. Post your code on controller or corresponding section, will be help to identify the problems(or even bug). Help for emial class - El Forum - 04-18-2011 [eluser]InsiteFX[/eluser] Code: $this->email->clear() InsiteFX |