[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));
}