If content type is 'text' or 'message', SquirrelMail uses 8bit transfer encoding.
Behavior can be altered by changing writeBodyPart and prepareMIME_Header functions. There functions are related. I am not sure about right modification. Not sure if I have located right part of code. https://sourceforge.net/tracker/index.php?func=detail&aid=1473714&group_id=311&atid=100311 > Thanks for your answer > What should I change in this file ? > If I want to turn on base64 transfer encoding do I need to make a "hack" > ? > Everyone have to do this change in Deliver.class.php ? > I saw some headers in the SM mailing lists and some users use this > base64 tranfer encoding > Doesn't do this SM automatically ? > Thanks in advance > > Pet > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Tomas Kuliavas > Sent: Thursday, April 20, 2006 6:23 PM > To: squirrelmail-users@lists.sourceforge.net > Subject: RE: [SM-USERS] Problem with xml attachment > >> >> >> Thanks a lot for your answer Tomas, >> How can I turn on base64 transfer encoding in SM > > You will have to modify class/deliver/Deliver.class.php functions. > >> That is to say my xml file has one row with at least 1000 characters >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Tomas Kuliavas >> Sent: Thursday, April 20, 2006 4:01 PM >> To: squirrelmail-users@lists.sourceforge.net >> Subject: RE: [SM-USERS] Problem with xml attachment >> >> RFC 2822 >> 2.1.1. Line Length Limits >> >> If plain text attachment uses wide lines, we might have to use base64 >> transfer encoding in order to preserve attachment. >> >> >>> Now I noticed that this is not problem xml file, but every file with > >>> bytes more then 990 in one row. >>> I send simple txt file with 1000 "aaaaa" in the row and I got 1001 >>> characters. Space was added after 990th "a" >>> Thanks a lot for advices >>> Pet >>> >>> -----Original Message----- >>> From: Jevos, Peter >>> Sent: Thursday, April 20, 2006 3:24 PM >>> To: squirrelmail-users@lists.sourceforge.net >>> Subject: RE: [SM-USERS] Problem with xml attachment >>> >>> >>> Hello >>> >>> I completely reinstalled new linux system with new SM and tried to >>> send this xml file through SM to the other server without SM When I >>> received it SM again add CR LF Space after 990th byte and got "XML >> Parsing Error: >>> not well-formed" after I opened it. >>> Is there some way how could I debug it and find the problem part ? >>> Please try to send this xml file ( without any changes and format ) >>> When I add an this xml attachment SM displays : origin.xml- >>> text/xml(1.6 k) Do you have the same problem ? >>> >>> Thanks a lot for answers >>> >>> Pet >>> >>> -----Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of >>> Tomas Kuliavas >>> Sent: Monday, April 10, 2006 9:36 PM >>> To: squirrelmail-users@lists.sourceforge.net >>> Subject: RE: [SM-USERS] Problem with xml attachment >>> >>>> Thanks for your answer, >>>> I tried to use evrythinnk like you said. >>>> So I used SM 1.4.6 without any plugins but problem still remains. >>>> I tried tou use other MUA to send xml message but result was good ( >>>> it >>> >>>> means postfix is not involved ) So I'd like to provide you >>>> config.php >> >>>> ( without themes ) and user file, probably you'll find difference >>>> against your configuration: >>> >>> Could you enable message_details plugin and show us xml message part >>> headers? >>> >>> Maybe Content-Type and Content-Transfer-Encoding headers might help >>> in >> >>> locating code that parses xml file incorrectly. >>> >>> -- >>> Tomas >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>> language that extends applications into web and mobile media. Attend >>> the live webcast and join the prime developer group breaking into >>> this >> >>> new coding territory! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121 >>> 6 >>> 42 >>> -- >>> squirrelmail-users mailing list >>> Posting Guidelines: >>> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines >>> List Address: squirrelmail-users@lists.sourceforge.net >>> List Archives: >>> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >>> List Archives: >>> http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >>> List Info: >>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users >>> >>> >>> ------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, >> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job >> >>> easier Download IBM WebSphere Application Server v.1.0.1 based on >>> Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 >>> -- >>> squirrelmail-users mailing list >>> Posting Guidelines: >>> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines >>> List Address: squirrelmail-users@lists.sourceforge.net >>> List Archives: >>> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >>> List Archives: >>> http://sourceforge.net/mailarchive/forum.php?forum_id)95 >>> List Info: >>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users >>> >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job > >> easier Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 >> 42 >> -- >> squirrelmail-users mailing list >> Posting Guidelines: >> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines >> List Address: squirrelmail-users@lists.sourceforge.net >> List Archives: >> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >> List Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >> List Info: >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, > security? >> Get stuff done quickly with pre-integrated technology to make your job > >> easier Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 >> -- >> squirrelmail-users mailing list >> Posting Guidelines: >> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines >> List Address: squirrelmail-users@lists.sourceforge.net >> List Archives: >> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >> List Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id)95 >> List Info: >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users >> > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > -- > squirrelmail-users mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@lists.sourceforge.net > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > -- > squirrelmail-users mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@lists.sourceforge.net > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users