[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Settings/MailConverter/handlers/ -> MailScanner.php (summary)

(no description)

File Size: 500 lines (16 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 6 files
 modules/HelpDesk/HelpDesk.php
 modules/Contacts/Contacts.php
 modules/Settings/MailConverter/handlers/MailAttachmentMIME.php
 modules/Settings/MailConverter/handlers/MailBox.php
 modules/Leads/Leads.php
 modules/Accounts/Accounts.php

Defines 1 class

Vtiger_MailScanner:: (20 methods):
  log()
  __construct()
  getMailBox()
  performScanNow()
  applyRule()
  markMessageScanned()
  isMessageScanned()
  updateLastscan()
  __toInteger()
  LookupContact()
  LookupLead()
  LookupAccount()
  LookupTicket()
  GetAccountRecord()
  GetContactRecord()
  GetLeadRecord()
  LookupContactOrAccount()
  GetTicketRecord()
  getAccountId()
  disableMailScanner()


Class: Vtiger_MailScanner  - X-Ref

Mail Scanner provides the ability to scan through the given mailbox
applying the rules configured.

log($message)   X-Ref
No description

__construct($scannerinfo)   X-Ref
Constructor.


getMailBox()   X-Ref
Get mailbox instance configured for the scan


performScanNow()   X-Ref
Start Scanning.


applyRule($mailscannerrule, $mailrecord, $mailbox, $messageid)   X-Ref
Apply all the rules configured for a mailbox on the mailrecord.


markMessageScanned($mailrecord, $crmid=false)   X-Ref
Mark the email as scanned.


isMessageScanned($mailrecord, $lookAtFolder)   X-Ref
Check if email was scanned.


updateLastscan($folder)   X-Ref
Update last scan on the folder.


__toInteger($strvalue)   X-Ref
Convert string to integer value.

returns: false if given contain non-digits, else integer value
param: $strvalue

LookupContact($email)   X-Ref
Lookup Contact record based on the email given.


LookupLead($email)   X-Ref
Lookup Lead record based on the email given.


LookupAccount($email)   X-Ref
Lookup Account record based on the email given.


LookupTicket($subjectOrId)   X-Ref
Lookup Ticket record based on the subject or id given.


GetAccountRecord($email, $accountid = false)   X-Ref
Get Account record information based on email.


GetContactRecord($email, $contactid = false)   X-Ref
Get Contact record information based on email.


GetLeadRecord($email)   X-Ref
Get Lead record information based on email.


LookupContactOrAccount($fromemail, $checkWith)   X-Ref
Lookup Contact or Account based on from email and with respect to given CRMID


GetTicketRecord($subjectOrId, $fromemail=false)   X-Ref
Get Ticket record information based on subject or id.


getAccountId($contactId)   X-Ref
No description

disableMailScanner()   X-Ref
No description



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1