dolibarr
x.y.z
|
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. More... | |
getParts ($structure) | |
Get parts of a message. More... | |
getDParameters ($part) | |
Array with joined files. More... | |
getAttachments ($jk, $mbox) | |
Get attachments of a given mail. More... | |
getFileData ($jk, $fpos, $type, $mbox) | |
Get content of a joined file from its position into a given email. More... | |
saveAttachment ($path, $filename, $data) | |
Save joined file into a directory with a given name. More... | |
getDecodeValue ($message, $coding) | |
Decode content of a message. More... | |
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.
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 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.
getDParameters | ( | $part | ) |
Array with joined files.
object | $part | Part of message |
Definition at line 106 of file emailcollector.lib.php.
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.
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.