Hey everyone, this is probably a dumb question, so please try not to get to frustrated with me. Actually I'm not even sure if I should post this here or not.

I recently installed this module on my drupal powered site (5.3) and received this error:

Mailhandler requires that PHP's IMAP extension is enabled in order to function properly. (Currently using IMAP Not found)

I have no idea how to fix that. My server says I'm running PHP 4.4.4 according to my site's cpanel. If anyone can help it would be greatly appreciated. Also if you could break it down to layman's terms I would be grateful. I'm kinda new to this website stuff and I'm kinda stuck on this. if you need any other info feel free to ask, and I apologize in advance if I didn't include something.

Thank you!
-German

Comments

ChrisKennedy’s picture

Status: Active » Fixed

No worries. You just need to email your technical support / sysadmin and ask them to re-compile PHP with mod_imap. Perhaps we should add this to the error message.

v8killab’s picture

I'm going to email them right now, but I want to make sure I have this right. I currently have a hosting plan with e-starr.com, they are the ones I should email, correct? I just wanna make sure this is something I can't do myself before someone calls me a retard.

ChrisKennedy’s picture

Yes, contact your web host.

v8killab’s picture

Thank you very much! I sent them an email so hopefully they will get back to me by tonight. Thank you again, may whatever god you worship smile upon you and bring you good fortune and thin mint girl scout cookies year round! lol

-German

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

guysoft’s picture

Hey all,
I am running my site in godaddy. And talking to their tech support they said i should be able to enable this module with .htacess. It sounds a bit strange to me, but they seems insistent with that. Does anyone know of some solution like that?

Thanks,
Guy

davidbessler’s picture

Godaddy says php-imap is not available with their shared hosting accounts. Their virtual dedicated hosting is significantly more expensive. Does anyone have an alternative to this?

Canine Coaches’s picture

If you have not found a better host already, I use infrenion and I love them. 24x7 live chat support, script installs, instant fixes, fast servers, etc., etc. I cannot say enough good things about this company and I have tried a few. did I mention ffmpeg on shared plans, and affordable.

Chris

batigolix’s picture

in case you are your own technical support / sysadmin, on ubuntu this helps:

sudo apt-get install php5-imap

and ask your sysadmin te reload apache

crimsontide’s picture

Title: n00b :-( php imap error » Problem Installing Mail Handler
Version: 5.x-1.2 » 6.x-1.x-dev
Assigned: Unassigned » crimsontide
Priority: Minor » Critical
Status: Closed (fixed) » Needs work

Hi folks! I have an account with godaddy and they does not allow to change the Imap extentions in php.ini. I know that there is a way to enable it using .htaccess but I do not know the procedure.
Could any one out there help me pls............?
How do i enable mailhandler in godaddy.
I use Drupal: 6.19
PHP: 5.2.14
PHP Memory limit: 64M
MySql database: 5.0.91

elshev’s picture

Version: 6.x-1.x-dev » 7.x-2.0-beta1
Assigned: crimsontide » Unassigned

I have account with godaddy too. And get this error with IMAP extensions.
But what I need is POP3. Not IMAP.
Is there a way to turn on only POP3?

Dane Powell’s picture

Priority: Critical » Normal

I can't speak to whether it's possible to enable PHP extensions in an .htaccess file. Your shared host would need to help you with that. But I can tell you that regardless of whether you want to use IMAP or POP, you must have the (somewhat inaptly named) PHP IMAP extension.

One option might be to compile your own version of PHP that includes the IMAP extension- I hear this is possible with some shared hosting providers.

Also, there has been some talk of making the backend mail library pluggable (so that you could use a library other than the PHP IMAP extension)- I fully support this, but have no idea if it's even remotely feasible- someone else would need to spearhead any such development.

Also, changing the status from critical to normal, as this isn't really a problem with Mailhandler but with your hosting provider. Sorry.

Dane Powell’s picture

Title: Problem Installing Mail Handler » PHP IMAP dependency
Status: Needs work » Closed (duplicate)

I am going to close this, as any long-term solution will most likely arise from #1042112: PHP IMAP alternative.

If anyone does have tips on how to get around this problem for specific hosting providers, please post those tips in the Mailhandler handbook: http://drupal.org/node/207366

Please do not re-open this thread (or any other closed threads). Thanks.

rakesh_verma’s picture

Component: Miscellaneous » Mailhandler
Issue summary: View changes
Status: Closed (duplicate) » Fixed

Hi,
Just encountered the same error. However, I got rid of the problem.
All you have to do is following:
you can open the file "php.ini" to activate the php exstension by removing the beginning semicolon at the line ";extension=php_imap.dll". It should be:
extension=php_imap.dll

Now restart Apache and IMAP should work. You can use the same steps for every extension, which is not enabled in the default configuration.
I was using xampp but i believe the solution would be common for all.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.