Email library bug when only using BCC |
[eluser]Ordos[/eluser]
When I was trying to send an email to a list of recipients and only using the BCC field the following error message shows up: A PHP Error was encountered Severity: Warning Message: mail() expects parameter 1 to be string, array given Filename: libraries/Email.php Line Number: 1540 For some reason the $to variable is not imploded into a string but passed as an array. I fixed this by writing this: Code: $this->email->to(""); Instead of only using email->bcc($emails). Could you guys look into this bug? http://www.jenssegers.be/blog/28/CodeIgn...ibrary-bug |
Welcome Guest, Not a member yet? Register Sign In |