[rt-users] bad MIME handling HTML emails ?

Pavel Ruzicka pavel.ruzicka at i.cz
Wed May 25 08:30:23 EDT 2005


Hello,

I have a strange problem probably MIME handling related. Sometimes when
user creates ticket via email and someone tries to reply to this
transaction body of requestors email is not included or plain text
_attachment_ is included instead of body content (quoted) as required.
It seems like RT has problem handling mails with HTML attachments. May I
update MIME::Tools ?

RT3.2.2, Perl 5.8.4, MIME::Tools 5.413




+++ MAIL 1 +++ Mon May 23 08:57:26 2005
When I try to reply on mail1, requestor text is not included in. Strange
is that attachments in requestors corespondence are before mail body
(text or html).

X-Mimeole:      Produced By Microsoft Exchange V6.5.7226.0

Content-Type:   multipart/mixed;
boundary="----_=_NextPart_001_01C55F64.AB3C7916"
  Content-Description:        Nový obrázek.jpg
  Content-Type:               "Nový obrázek.jpg"
  Content-Disposition:        "Nový obrázek.jpg"
  Content-Transfer-Encoding:  base64
  Content-Length:             237891

  Content-Description:        GHJ II 4361-doplneni+gesce.doc
  content-type:               application/msword; name="GHJ II
4361-doplneni+gesce.doc"
  content-disposition:        attachment; filename="GHJ II
4361-doplneni+gesce.doc"
  Content-Transfer-Encoding:  base64
  Content-Length:             51712

Content-Type: multipart/alternative;
boundary="----_=_NextPart_002_01C55F64.AB3C7916"
  content-type:              text/plain; charset="utf-8"
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    iso-8859-2
  Content-Length:            3928

  Content-Type: text/html;   charset="iso-8859-2"
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    iso-8859-2
  Content-Length:            8277


+++ MAIL 2 +++ Mon May 23 11:50:17 2005
Same ticket, owner did a reply to requestor and requestor reply also
(mail2). Afaik same MUA used (There is no html alternative part, i think
its because requestor has something like "send plain text only in reply
to plain text emails" and "send html + text by default"). When i hit a
reply everything is ok. (note that attachments are _after_ email body)

X-Mimeole:      Produced By Microsoft Exchange V6.5.7226.0

Content-Type:   multipart/mixed;
boundary="----_=_NextPart_001_01C55F75.CB395BD6"
  Content-Type:              text/plain; charset="utf-8"
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    iso-8859-2
  X-RT-Original-Encoding:    utf-8
  Content-Length:            1530

  Content-Description:       Překlopeno do 20050523.jpg
  Content-Type:              "Překlopeno do 20050523.jpg"
  Content-Disposition:       "Překlopeno do 20050523.jpg"
  Content-Transfer-Encoding: base64
  Content-Length:            286388

  Content-Description:       Překlopeno a smazáno 20050523.jpg
  Content-Type:              "Překlopeno a smazáno 20050523.jpg"
  Content-Disposition:       "Překlopeno a smazáno 20050523.jpg"
  Content-Transfer-Encoding: base64
  Content-Length:            325148




+++ MAIL 3 +++
When I try to reply on next mail (mail 3) content of LogFile.txt is
quoted! instead of mail body. Interesting that via web everything is OK
(body is displayed as body).

Content-Type:   multipart/mixed; boundary="=_mixed 0022102DC1256FEA_="
  MIME-Version:              1.0
  Content-Type:              text/html; charset=ISO-8859-2
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    ISO-8859-2
  X-RT-Original-Encoding:    ISO-8859-2
  Content-Length:            815

  content-type:              application/octet-stream;
name="ControlFile.ini"
  content-disposition:       attachment; filename="ControlFile.ini"
  Content-Transfer-Encoding: base64
  Content-Length:            440

  content-type:              application/octet-stream;
name="UY-SAK-04-O-20050098234098230492000000[1].cab.osf"
  content-disposition:       attachment;
filename="UY-SAK-04-O-20050098234098230492000000[1].cab.osf"
  Content-Transfer-Encoding: base64
  Content-Length:            114926

  content-type:              application/octet-stream;
name="ENVELOPE_XY.file"
  content-disposition:       attachment; filename="ENVELOPE_XY.file"
  Content-Transfer-Encoding: base64
  Content-Length:            1955

  content-type:              text/plain; charset="utf-8";
name="LogFile.txt"
  content-disposition:       attachment; filename="LogFile.txt"
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    iso-8859-1
  X-RT-Original-Encoding:    utf-8
  Content-Length:            5486

  content-type:              application/octet-stream;
name="DF02339[1].SH09.DOC"
  content-disposition:       attachment; filename="DF02339[1].SH09.DOC"
  Content-Transfer-Encoding: base64
  Content-Length:            62464

  content-type:              text/html; name="UD0i73261].VB02.HTM"
  content-disposition:       attachment; filename="UD0i73261].VB02.HTM"
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    iso-8859-1
  X-RT-Original-Encoding:    iso-8859-1
  Content-Length:            64990

  content-type:              application/octet-stream;
name="AK07923[1].NB02.PDF"
  content-disposition:       attachment; filename="AK07923[1].NB02.PDF"
  Content-Transfer-Encoding: base64
  Content-Length:            87524

  content-type:              text/plain; name="Subject.txt"
  content-disposition:       attachment; filename="Subject.txt"
  Content-Transfer-Encoding: quoted-printable
  X-RT-Original-Encoding:    utf-8
  X-RT-Original-Encoding:    utf-8
  Content-Length:            101


Thanx for your help
Ruza



More information about the rt-users mailing list