[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 234 lines (7 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 2 files
 modules/Settings/MailConverter/handlers/MailScannerInfo.php
 modules/Settings/MailConverter/handlers/MailRecord.php

Defines 1 class

Vtiger_MailBox:: (9 methods):
  log()
  __construct()
  connect()
  open()
  search()
  getFolders()
  getMessage()
  markMessage()
  close()


Class: Vtiger_MailBox  - X-Ref

Class to work with server mailbox.

log($message, $force=false)   X-Ref
No description

__construct($scannerinfo)   X-Ref
Constructor


connect($folder='INBOX')   X-Ref
Connect to mail box folder.


open($folder, $reopen=false)   X-Ref
Open the mailbox folder.

param: $folder Folder name to open
param: $reopen set to true for re-opening folder if open (default=false)
return: true if connected, false otherwise

search($folder, $searchQuery=false)   X-Ref
Get the mails based on searchquery.

param: $folder Folder in which mails to be read.
param: $searchQuery IMAP query, (default false: fetches mails newer from lastscan)
return: imap_search records or false

getFolders()   X-Ref
Get folder names (as list) for the given mailbox connection


getMessage($messageid, $fetchbody=true)   X-Ref
Fetch the email based on the messageid.

param: $messageid messageid of the email
param: $fetchbody set to false to defer fetching the body, (default: true)

markMessage($messageid)   X-Ref
Mark the message in the mailbox.


close()   X-Ref
Close the open IMAP connection.




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