something is going wrong here, see blow ______________________________________________________________
BTW: it would be nice to sse in the error log which idiot user tried to send mass-mails here:
[root@localhost:/var/log/roundcubemail]$ cat errors | grep "Failed to add recipient" | wc -l 68
[31-May-2013 15:14:08]: SMTP Error: SMTP error: Failed to add recipient '***************' in /usr/share/roundcubemail/program/include/rcmail.php on line 1009 (POST /tl-webmail/?_unlock=loading1370006047347&_lang=undefined?_task=mail&_action=send) ______________________________________________________________
[31-May-2013 15:21:35 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:21:46 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:21:48 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:28:19 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:29:07 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:29:11 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:29:15 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:29:20 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792 [31-May-2013 15:29:56 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792
On 06/01/2013 10:54 PM, Reindl Harald wrote:
[31-May-2013 15:21:35 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792
Something unexpected in BODYSTRUCTURE response. Which Roundcube version? What IMAP server? Can you reproduce this with a specific message and send as the BODYSTRUCTURE of it?
Am 02.06.2013 08:54, schrieb A.L.E.C:
On 06/01/2013 10:54 PM, Reindl Harald wrote:
[31-May-2013 15:21:35 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792
Something unexpected in BODYSTRUCTURE response. Which Roundcube version? What IMAP server? Can you reproduce this with a specific message and send as the BODYSTRUCTURE of it?
IMHO there should be a is_array() test somewhere befoire trigger this warning and error_log() with email and message-id to have a chance find the specific message
it did only happened once but usually there is a reason things happening
On 06/02/2013 01:15 PM, Reindl Harald wrote:
[31-May-2013 15:21:35 Europe/Vienna] PHP Warning: strtolower() expects parameter 1 to be string, array given in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 1792
Something unexpected in BODYSTRUCTURE response. Which Roundcube version? What IMAP server? Can you reproduce this with a specific message and send as the BODYSTRUCTURE of it?
IMHO there should be a is_array() test somewhere befoire trigger this warning and error_log() with email and message-id to have a chance find the specific message
it did only happened once but usually there is a reason things happening
We can of course just add is_array() check or @ operator, but maybe the problem is somewhere else. Please add such code before line 1792. So, next time we'll have relevant logs:
if (is_array($part[0]) || is_array($part[1])) { console($_SESSION['username'], $this->get_folder(), $this->msg_uid); console($struct->mime_id, $part); }