Webmail Plus - Unknown Function _api_status was found
MickC - October 12, 2009 - 06:01
| Project: | Webmail Plus |
| Version: | 6.x-1.16 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
I've recently installed Webmail plus and am getting 2 errors appearing at the top of each page.
Unknown function _api_status was called.
Unknown function _api_overview was called.
All related modules are installed into .sites/all/modules/ and activated.
I can't immediately see which module is calling the functions.

#1
Seems to me you haven't enabled a Mail API submodule that's actually supposed to connect to the mail storage.
#2
I've enabled everything that I can see - all 4 dependent modules and everything in Webmail except Webmail Plus SOIR which wouldn't affect this.
Mail API only has one submodule appearing in the admin UI, and that's:
MAP-WU API 6.x-1.7 Provides an MAIL API IMAP interface using Washington University IMAP.
I've enabled it and it makes no difference - I still get the error messages - is it a clue perhaps that the messages are displayed twice on the home page as follows?
Unknown function _api_status was called.
Unknown function _api_overview was called.
Unknown function _api_status was called.
Unknown function _api_overview was called.
Thanks.
#3
similar for me.
initially i got a warning about file & file_attach weights.
i corrected (i think) this using Utility.
was then getting warning that mapi was configured correctly.
so set up an IMAP server in MAPI.
now get the api_status/api_overview warnings.
(is it simply badly configured email?)
:(
#4
Ok. i got things working - it was settings after all.
under "modules" have "Webmail Plus", "Mail API", "IMAPWU" all enabled.
under "admin/user/user" have a user with name thats first part of email address - eg. "USERNAME" for "USERNAME@gmail.com"
under "admin/settings/mail_api" have a server with;
-- correct hostname - for gmail its "imap.gmail.com"
-- correct port number - for gmail its "993"
-- usually without encyption - although put "SSL" here for gmail
-- correct Login Suffix - for gmail its "@gmail"
under "admin/settings/webmail_plus";
--- make sure your server is selected
--- deal with SMTP settings if required (does this work with gmail?)
--- decide if your having "Internal" or "User" passwords
(with user they needs to make sure their email password is correct under "My Account > Email > Email Password")
go to "admin/build/block" and make those Email blocks visible somewhere.
And that, i think, is that :)