Inbound Email is a complicated piece of work to get setup! This F.A.Q. will serve as a stop-gap measure until our full documentation is rolled out. I will add to this as issues come up. Please feel free to respond to this thread with the issues or solutions you encounter.
Thanks! [v1.0b] non-standard port info
SETUP ISSUES
I setup a mailbox and I don't get any mail!
This could be the result of a number of problems. Please make sure the following are working:
1. crontab or Windows Scheduled Tasks has a job and is running them.
2. if using the PHP CLI/CGI binary, make sure it's in the path of the user it is running as. In Linux, it will be the Apache user (typically "nobody" or "apache").
3. you get a non-error result when clicking "Test Settings" in the Mailbox setup screen
4. Your Sugar instance is running on a port other than 80. - this will be addressed in the next patch!
5. Sugar is running in a secure environment and cron.php is failing!
Originally Posted by freelock
Error Message: Fatal error: Call to undefined function: curl_init() OR some other cURL failure
Linux: Recompile Time!
Windows: Time to edit your php.ini file
If using one the many precompiled Windows stacks (such as WAMP, XAMPP, etc.), all the extensions are compiled and shipped with the core module but disabled in your php.ini file. Installations will almost always differ where that file is kept; to figure out exactly where it is, create a phpinfo.pihp file:
Save it somewhere in your htdocs folder and use a browser to view the output. Search for php.ini and it will show the path to the file you want to edit.PHP Code:<?php phpinfo(); ?>
In any text editor, search for ";extension=php_curl.dll". Remove the semi-colon from the beginning of the string. If not found, add it yourself (minus the semi-colon of course).
Save and close.
RESTART your apache server - it will NOT dynamically load this extension.
Error Message: This system does not have the IMAP c-client libraries enabled/compiled into the PHP module
InboundEmail absolutely requires that the IMAP extension be available to the PHP module. There are no ways around this issue save fulfilling the requirement. If your host does not provide this for you, contact their system administrators and ask that this be done. If you have access to your own server, either recompile PHP with the IMAP extension, or find a stack install (WAMP, XAMPP, etc) that has the IMAP extension available for your platform.
If you need to recompile your apache module, following these directions:
The above was taken from a post here: devarticles.com. What the above DOESN'T tell you is which file to download and extract! As of Dec 18, 2005, the file you want is imap-2004c.tar.Z. The c-client folder mentioned in the above quote is in that archive.To enable IMAP support on your PHP installation you need to compile PHP with the --with-imap argument. You also need to download the IMAP library here. Once you've downloaded it, copy c-client/c-client.a to /usr/local/lib/libc-client.a. Also copy c-client/rfc822.h, mail.h and linkage.h to /usr/local/include or some other directory in your include path.
One more important point: notice that the name of the first file, c-client.a is being changed to libc-client.a. This last tripped me up a few times in the past.


LinkBack URL
About LinkBacks
.



Reply With Quote

Bookmarks