I've only recently installed this module to begin testing, but am having trouble getting it going. I believe I have everything set properly, but when I visit /basic_webmail I get nothing. PHP error log shows:

PHP Fatal error: Call to undefined function imap_open() in *website*/basic_webmail/basic_webmail.common.inc on line 42

I'm not sure where to go from there. Any tips?

Comments

eyenology’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1

corrected version

oadaeh’s picture

You need to install the IMAP extension for PHP. If using some Debian variant, run

aptitude install php5-imap

or

apt-get install php5-imap

If using something else, you will need to research how to get it installed.

eyenology’s picture

ok, on my Ubuntu 12.04 machine installing php5-imap via apt-get worked, I can access my webmail!

But I'm getting the following error:

Notice: Undefined property: stdClass::$parts in _basic_webmail_get_parts_list() (line 268 of SITE/sites/all/modules/basic_webmail/basic_webmail.common.inc).

Everything seems to be operating normally, but I'm not sure what is triggering that error.

oadaeh’s picture

@eyenology, are you still getting that error?

michel.settembrino’s picture

I am getting this error when I am testing the module with simplytest.me

Regards,
Michel.

oadaeh’s picture

@MS-Informatique which error?

michel.settembrino’s picture

Same as the one reported by eyenology.

PHP Fatal error: Call to undefined function imap_open() in *website*/basic_webmail/basic_webmail.common.inc on line 42

oadaeh’s picture

My #2 comment is still the correct answer, but your probably not going to be able to do that with simplytest.me.