You are here

function support_fetch_client_mail in Support Ticketing System 7

Same name and namespace in other branches
  1. 6 support.module \support_fetch_client_mail()

Automatically download messages for all active clients.

2 calls to support_fetch_client_mail()
support_client_fetch_all_action in ./support.module
support_cron in ./support.module
Implementation of hook_cron().
1 string reference to 'support_fetch_client_mail'
support_menu in ./support.module
Implementation of hook_menu().

File

./support.module, line 537
support.module

Code

function support_fetch_client_mail() {
  $clients = support_active_clients();
  if (is_array($clients)) {
    foreach ($clients as $clid => $client) {
      if ($client->integrate_email) {
        support_client_fetch($client, FALSE);
      }
    }
  }
}