Bug width Email attach - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Bug width Email attach (/showthread.php?tid=61769) |
Bug width Email attach - motoroller - 05-15-2015 I have a simple email function PHP Code: function sendLetter($data) { PHP Code: array ( PHP Code: 'title' => Second Letter', PHP Code: 'to' => '[email protected]', PHP Code: 'file' => 'mail_templates/invoice.html', PHP Code: ) PHP Code: ); PHP Code: PHP Code: PHP Code: sendLetter ( The problem is second receiver has two (double attaches ) in his letter RE: Bug width Email attach - Wouter60 - 05-15-2015 The $CI->email->send() method clears all settings, except the attachment(s). If you want to clear that too, use $CI->email->clear(TRUE). It is described in the documentation: http://www.codeigniter.com/userguide3/libraries/email.html |