[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 594 lines (19 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file modules/Settings/MailConverter/handlers/MailAttachmentMIME.php |
MailManager_Message_Model:: (28 methods):
__construct()
__getpart()
pruneOlderInDB()
removeSavedAttachmentFiles()
readFromDB()
loadAttachmentsFromDB()
saveToDB()
__SaveAttachmentFile()
attachments()
inlineAttachments()
subject()
setSubject()
body()
getBodyHTML()
from()
setFrom()
to()
cc()
bcc()
uniqueid()
muid()
date()
setDate()
isRead()
setRead()
msgNo()
setMsgNo()
parseOverview()
Class: MailManager_Message_Model - X-Ref
__construct($mBox=false, $msgno=false, $fetchbody=false) X-Ref |
Constructor which gets the Mail details from the server param: String $mBox - Mail Box Connection string param: Integer $msgno - Mail Message Number param: Boolean $fetchbody - Used to save the mail information to DB |
__getpart($imap, $messageid, $p, $partno) X-Ref |
Gets the Mail Body and Attachments param: String $imap - Mail Box connection string param: Integer $messageid - Mail Number param: Object $p param: Integer $partno |
pruneOlderInDB($waybacktime) X-Ref |
Clears the cache data param: Integer $waybacktime |
removeSavedAttachmentFiles($waybacktime) X-Ref |
Used to remove the saved attachments param: Integer $waybacktime - timestamp |
readFromDB($uid) X-Ref |
Reads the Mail information from the Database param: Integer $uid return: Boolean |
loadAttachmentsFromDB($withContent, $aName=false) X-Ref |
Loads the Saved Attachments from the DB param: Boolean $withContent - Used to load the Attachments with/withoud content param: String $aName - Attachment Name |
saveToDB($uid) X-Ref |
Save the Mail information to DB param: Integer $uid - Mail Unique Number return: Boolean |
__SaveAttachmentFile($filename, $filecontent) X-Ref |
Save the Mail Attachments to DB param: String $filename - name of the file param: Text $filecontent return: Array with attachment information |
attachments($withContent=true, $aName=false) X-Ref |
Gets the Mail Attachments param: Boolean $withContent param: String $aName return: List of Attachments |
inlineAttachments() X-Ref |
No description |
subject($safehtml=true) X-Ref |
Gets the Mail Subject param: Boolean $safehtml return: String |
setSubject($subject) X-Ref |
Sets the Mail Subject param: String $subject |
body($safehtml=true) X-Ref |
Gets the Mail Body param: Boolean $safehtml return: String |
getBodyHTML($safehtml=true) X-Ref |
Gets the Mail Body param: Boolean $safehtml return: String |
from($maxlen = 0) X-Ref |
Gets the Mail From param: Integer $maxlen return: string |
setFrom($from) X-Ref |
Sets the Mail From Email Address param: Email $from |
to() X-Ref |
Gets the Mail To Email Addresses return: Email(s) |
cc() X-Ref |
Gets the Mail CC Email Addresses return: Email(s) |
bcc() X-Ref |
Gets the Mail BCC Email Addresses return: Email(s) |
uniqueid() X-Ref |
Gets the Mail Unique Identifier return: String |
muid() X-Ref |
Gets the Mail Unique Number return: Integer |
date($format = false) X-Ref |
Gets the Mail Date param: Boolean $format return: Date |
setDate($date) X-Ref |
Sets the Mail Date param: Date $date |
isRead() X-Ref |
Checks if the Mail is read return: Boolean |
setRead($read) X-Ref |
Sets if the Mail is read param: Boolean $read |
msgNo($offset=0) X-Ref |
Gets the Mail Message Number param: Integer $offset return: Integer |
setMsgNo($msgno) X-Ref |
Sets the Mail Message Number param: Integer $msgno |
parseOverview($result) X-Ref |
Sets the Mail Headers param: Object $result return: self |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |