Bug width Email attach |
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
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/li...email.html |
Welcome Guest, Not a member yet? Register Sign In |