Attachments not parsed, when no mime_boundary header
Brought to you by:
tuxmonkey
Parser (mail.class.php) relies on the
header "mime_boundary" when splitting attachments
from the mail.
However, some email clients, send attachments in other
ways. In these cases, the attachmens are left in the
message body.
I found the problem for 2 clients: Pegasus Mail and
Lotus Notes. These are the relevant headers from the
parser log:
Pegasus Mail:
'mime-version' => '1.0',
'content-type' => 'Multipart/Mixed; boundary=Message-
Boundary-12454',
Lotus Notes:
'mime-version' => '1.0',
'content-type' => 'multipart/mixed;',
'mime_boundary' => '',
'content-disposition' => 'inline',
Mozilla (this works):
'content-type' => 'multipart/mixed;',
'mime_boundary' => '------------
050706030004080104070607',