[eluser]xpix[/eluser]
Hi,
When using the mail class whithout providing a "to" only a "bcc" I get this error:
Code:
A PHP Error was encountered
Severity: Warning
Message: mail() expects parameter 1 to be string, array given
Filename: libraries/Email.php
Line Number: 1519
Here's the line:
Code:
if ( ! mail($this->_recipients, $this->_subject, $this->_finalbody, $this->_header_str, "-f ".$this->clean_email($this->_headers['From'])))
I'm guessing the error comes from the $this->_recipients which is empty or something.
I think that this should not happen for when not using the "to".
Any ideas how to fix this?
Thank You