Hi,
Here is my configuration :
I have a problem with a ticket create with email that contain only one attachment.
When I look at the source code of my email I have this :
--=_e3cd7163cf58da5d0643d4c9a660664c
Content-Transfer-Encoding: base64
Content-Type: application/pdf;
name*0*=UTF-8''xxxx%20d%27xxxx%20xxxx%C3%A9%20xxx%20xxxxxx%20xxxxxxx;
name*1*=x.pdf
Content-Disposition: attachment;
filename*0*=UTF-8''xxxx%20x%27xxxxxxxx%20xxxxx%C3%A9%20xxxx%20xxxxx%20xx;
filename*1*=xxxx.pdf;
size=218932
My file name is split in two parts because to the mail client the name of my attachment is too long.
Into the file "class.mailparse.php" we can see this :
} elseif (preg_match('/filename\*\d+=([^;]+);/', $part->headers['content-disposition']) === 1) {
$filename = '';
foreach ($part->d_parameters as $key=>$fname)
if (strpos($key, 'filename*') !== false)
$filename .= Format::decodeRfc5987($fname);
}
But the cas of multiple filename* is not taken into account.
Thank you for your help