Hi,

I have a cron setup and this scheduler seems to work ok until an email arrives then it just sits in the 'in progress' state forever and doesn't process or collect the email.

I'm using Version 5.0f on Linux / Apache.

I have tried everything, if you rebuild the schedulers the it works for one email then it stops again on the next one.

This is the test I have carries out:

Setup Cron: * * * * * cd /home/blah/public_html/blah/crm; php -f cron.php > /dev/null 2>&1

Checked the scheduler and I get this:
06/27/2008 01:49 Completed
06/27/2008 01:48 Completed
06/27/2008 01:47 Completed

Setup email settings, no problem, mail outbound works 100%.

Setup an inbound mailbox, tested settings, all ok.

Setup an account and contact.

Sent an email from the contact to the monitored mailbox, mail sends ok.

Checked Schedule and I get this:

06/27/2008 01:50 In Progress

Forever and the email doesn't get processed.

I rebuild the scheduler and the email gets processed, but the next time I send one it fails again.

I also get a whole load of these in the log file:

Thu Jun 26 18:38:50 2008,487 [1953] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
Thu Jun 26 18:39:33 2008,791 [1953] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
Thu Jun 26 18:43:37 2008,903 [6862] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
Thu Jun 26 18:43:49 2008,334 [6862] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
Thu Jun 26 18:43:49 2008,336 [6862] FATAL SugarCRM - Error fetching relationship from cache schedulers_modified_user_id

I've rebuild the relationships but this doesn't seem to fix it.

But it seems that no-one wants to answer this problem in other posts so I don't hold up much faith in getting answer for this here.

It seems there are some serious issues with the email module but the policy seems to be, keep quiet, don't reply or say anything and maybe they will all just go away.

Please help, it's starting to get really frustrating now.

Regards,

Iain