Welcome Guest, Not a member yet? Register   Sign In
Email library bug when only using BCC

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:

Instead of only using email->bcc($emails). Could you guys look into this bug?


Theme © iAndrew 2016 - Forum software by © MyBB