Hi I get this when I´m trying to open basic_webmail.
Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/secure/ssl/validate-cert/tls}INBOX in _basic_webmail_connect_to_server() (line 47 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.common.inc).
Warning: natsort() expects parameter 1 to be array, string given in _basic_webmail_prepare_folder_list() (line 269 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Warning: Invalid argument supplied for foreach() in _basic_webmail_prepare_folder_list() (line 271 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/secure/ssl/validate-cert/tls}INBOX in _basic_webmail_connect_to_server() (line 47 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.common.inc).
Comments
Comment #1
oadaeh commentedThe first and last errors are this module not being able to access your IMAP server, either because the configuration settings are incorrect, or because the server is not available.
Use the information in this post to verify your configuration is correct. Based on your connection string, you seem to have some options set that probably should not be, like the validate and TLS options.
The middle two errors are because of the failed IMAP server connection, and probably something I should correct. I will have to look into them.
Comment #2
Stellanhaglund commentedThank you!
I changed and it moved a bit further.
Now the emails show up, though I saw that some dates where wrong, with the year 1999 for example.
And all mails wasn´t included.
And got these errors.
Warning: imap_utf7_decode() [function.imap-utf7-decode]: Invalid modified UTF-7 character: ` in _basic_webmail_prepare_folder_list() (line 273 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Warning: imap_utf7_decode() [function.imap-utf7-decode]: Invalid modified UTF-7 character: ` in _basic_webmail_prepare_folder_list() (line 273 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Warning: imap_utf7_decode() [function.imap-utf7-decode]: Invalid modified UTF-7 character: ` in _basic_webmail_prepare_folder_list() (line 273 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Notice: Undefined variable: message_month in _basic_webmail_message_list_process_message_date() (line 725 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Notice: Undefined variable: message_month in _basic_webmail_message_list_process_message_date() (line 725 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Notice: Undefined variable: message_month in _basic_webmail_message_list_process_message_date() (line 725 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Notice: Undefined variable: message_month in _basic_webmail_message_list_process_message_date() (line 725 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/basic_webmail/basic_webmail.list.inc).
Comment #3
oadaeh commentedFor the dates, try changing line 422 of basic_webmail.list.inc from
to
and let me know how they work.
Comment #4
oadaeh commentedI've made lots of changes since this was posted.