dolibarr 20.0.0
|
Library files with common functions for EmailCollector. More...
Go to the source code of this file.
Functions | |
emailcollectorPrepareHead ($object) | |
Prepare array of tabs for EmailCollector. | |
getParts ($structure) | |
Get parts of a message. | |
getDParameters ($part) | |
Array with joined files. | |
getAttachments ($jk, $mbox) | |
Get attachments of a given mail. | |
getFileData ($jk, $fpos, $type, $mbox) | |
Get content of a joined file from its position into a given email. | |
saveAttachment ($path, $filename, $data) | |
Save the attached file into a directory with a given name. | |
getDecodeValue ($message, $coding) | |
Decode content of a message. | |
Library files with common functions for EmailCollector.
Definition in file emailcollector.lib.php.
emailcollectorPrepareHead | ( | $object | ) |
Prepare array of tabs for EmailCollector.
EmailCollector | $object | EmailCollector |
Definition at line 32 of file emailcollector.lib.php.
References $object, and complete_head_from_modules().
getAttachments | ( | $jk, | |
$mbox ) |
Get attachments of a given mail.
integer | $jk | Number of email |
object | $mbox | object connection imap |
Definition at line 118 of file emailcollector.lib.php.
References getDParameters(), and getParts().
getDecodeValue | ( | $message, | |
$coding ) |
Decode content of a message.
string | $message | Message |
integer | $coding | Type of content |
Definition at line 200 of file emailcollector.lib.php.
Referenced by getFileData().
getDParameters | ( | $part | ) |
Array with joined files.
object | $part | Part of message |
Definition at line 106 of file emailcollector.lib.php.
Referenced by getAttachments().
getFileData | ( | $jk, | |
$fpos, | |||
$type, | |||
$mbox ) |
Get content of a joined file from its position into a given email.
integer | $jk | numéro du mail |
integer | $fpos | position de la pièce jointe |
integer | $type | type de la pièce jointe |
object | $mbox | object connection imaap |
Definition at line 155 of file emailcollector.lib.php.
References getDecodeValue().
getParts | ( | $structure | ) |
Get parts of a message.
object | $structure | Structure of message |
Definition at line 95 of file emailcollector.lib.php.
Referenced by getAttachments().
saveAttachment | ( | $path, | |
$filename, | |||
$data ) |
Save the attached file into a directory with a given name.
string | $path | Path to file |
string | $filename | Name of file |
mixed | $data | Content to save |
Definition at line 171 of file emailcollector.lib.php.
References dol_mkdir().