CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Creating activities from CC'ed emails
Pages: [1]

Author Topic: Creating activities from CC'ed emails  (Read 1003 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Creating activities from CC'ed emails
September 19, 2011, 12:06:30 pm
So far this has worked out well for a few sites. But one site is using Google Mail via their business app interface there seems to be an issue that if the mail box gets too large between cron jobs it just does not work. If you run the EmailProcessor.php at the command line or visit that url all you get after a moment is the "Page not found error" as if it tries to run then just dies.
There is plenty of memory and php has a huge timeout.
Just wondering if anyone else had this issue of it just not working.
Maybe I can insert on a debug code to help out?
Thanks

patdunlavey

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Drupal 7.8
  • MySQL version: 5.1.37
  • PHP version: 5.2.11
Re: Creating activities from CC'ed emails
October 20, 2011, 06:07:12 pm
I'm thinking the reported failures could be related to php memory or timeout issues with large inboxes. Since EmailProcessor.php is not bootstrapping Drupal, it's not triggering all the ini_set() statements in settings.php. There is a test on line 386 to see if php is running in safe mode. If it's not, it changes the time limit to unlimited. It seems unlikely that the server is running php in safe mode, but that would clearly cause a problem if it were. In any case it seems possible that the script is running out of memory and failing to run.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Creating activities from CC'ed emails

This forum was archived on 2017-11-26.