Php attached multiple excel files in email codeigniter not working |
I want to attach two excel files (sealing_production.xls & sealing_assembly.xls)to my email using php,but I have no idea on how to do it.
Can anybody help me please?? Problem When I click on my send mail button, I gets the mail. with all details. but attachment is not working. Try 1.I echo the file name, its prints the file name from controller 2.I also try to put Code: $this-> email -> attach($file); in my model and also this in my sendEmail function Code: $this -> global_model -> sendfullmail($user, $subject, $content,$cc, '',$xls); but the email that i receive is only blank email without content. Here my php code for the send Email function PHP Code: function sendEmail() { and this the function of sendfullmail in my model: Code: //send out full email include cc and bcc What I have tried: I have check similar links on stack overflow about this. But i'm unable to find any solution for this. Link's i have checked |
Messages In This Thread |
Php attached multiple excel files in email codeigniter not working - by Var91 - 09-12-2017, 06:22 PM
RE: Php attached multiple excel files in email codeigniter not working - by InsiteFX - 09-13-2017, 03:59 AM
RE: Php attached multiple excel files in email codeigniter not working - by Var91 - 09-13-2017, 10:29 PM
RE: Php attached multiple excel files in email codeigniter not working - by InsiteFX - 09-14-2017, 03:37 AM
RE: Php attached multiple excel files in email codeigniter not working - by Var91 - 09-14-2017, 05:14 PM
|