FIX#27166
This commit is contained in:
parent
5b2012dba2
commit
fca6541c83
1 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ function getDParameters($part)
|
|||
*/
|
||||
function getAttachments($jk, $mbox)
|
||||
{
|
||||
$structure = imap_fetchstructure($mbox, $jk);
|
||||
$structure = imap_fetchstructure($mbox, $jk, FT_UID);
|
||||
$parts = getParts($structure);
|
||||
$fpos = 2;
|
||||
$attachments = array();
|
||||
|
|
@ -153,7 +153,7 @@ function getAttachments($jk, $mbox)
|
|||
*/
|
||||
function getFileData($jk, $fpos, $type, $mbox)
|
||||
{
|
||||
$mege = imap_fetchbody($mbox, $jk, $fpos);
|
||||
$mege = imap_fetchbody($mbox, $jk, $fpos, FT_UID);
|
||||
$data = getDecodeValue($mege, $type);
|
||||
|
||||
return $data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue