dolibarr 19.0.3
|
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 joined 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 31 of file emailcollector.lib.php.
References complete_head_from_modules(), and dol_buildpath().
getAttachments | ( | $jk, | |
$mbox ) |
Get attachments of a given mail.
integer | $jk | Number of email |
object | $mbox | object connection imaap |
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 154 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 joined file into a directory with a given name.
string | $path | Path to file |
string | $filename | Name of file |
mixed | $data | contenu à sauvegarder |
Definition at line 170 of file emailcollector.lib.php.
References dol_mkdir().