cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically fetch inside Nuxeo IMAP Connector

nicolas_1
Champ in-the-making
Champ in-the-making

Hi,

we have a email folder configured. Before v 6.0 emails were retrieved automatically every 30 minutes.

Now it seems that the only way to fetch new emails is to click on "Check email"

How can I automate the fetching process?

How can I specify the fetching interval?

Regards,

1 REPLY 1

nicolas_1
Champ in-the-making
Champ in-the-making

I found the answer.

You have to edit /opt/nuxeo-dm/templates/common/config/nxmail-scheduler-config.xml

and add something like:

  <extension
    target="org.nuxeo.ecm.core.scheduler.SchedulerService"
    point="schedule">

    <schedule id="mailReceivedSchedule">
      <eventId>MailReceivedEvent</eventId>
      <eventCategory>default</eventCategory>
      <!-- every half hour of every day -->
      <cronExpression>0 0/30 * * * ?</cronExpression>
    </schedule>

  </extension>

</component>