[imp] Re: [dev] IMP HEAD & sending messages with attachment and
specialchar in IE
Amith Varghese
amith@xalan.com
Thu, 22 Aug 2002 10:15:59 -0400
No javascript errors within IE (not that I could see. The warning icon on the
bottom left never showed up). Also, I've verified this on two different
computers (running roughly the same version of IE 6.0.2600). The machines were
Win2k. I tried to debug it last night by putting a javascript alert box in the
uniqSubmit() javascript method (in templates/compose/compose.inc). I put:
alert(document.compose.actionID.value)
and when i submitted the form, it printed out 114 which is correct. However in
compose.php when it calls $actionID = Horde::getFormData('actionID'); right
after that i put a logMessage and $actionID is empty. So I then put a packet
sniffer between the two machines to see what was actually being sent. I've
dealt with multipart/form-data before, but I'm not too sure of the differences
between browsers when it comes to this. Basically the data I was getting back
contained actionID but in two different forms.
Mozilla:
Content-Disposition: form-data; name="actionID"....114 -----------
IE 6.0.2600:
..ZP.þ..³.9e..E..Üc.@...\÷À¨eýA{Ìú...P(Qb6þ¦³¯P.úð./..actionID....114..-----------------------------
IE 5.5 (running using crossover office on my linux machine)
Content-Disposition: form-data; name="actionID"....114..
-----------------------------
In IE 6.0.2600 I don't see the first part that I see in Mozilla or IE 5.5... its
a bunch of garbage. I don't know if this affects PHP for getting the form value
or not. It starting to look like I found a bug. But I would like to see if
someone can duplicate my problems before I stop trying to figure this out.
Any help would be appreciated.
Thanks
Amith
> ----- Message from mike@graftonhall.co.nz ---------
> Date: Thu, 22 Aug 2002 18:05:38 +1200
> From: Mike Cochrane <mike@graftonhall.co.nz>
> Reply-To: Mike Cochrane <mike@graftonhall.co.nz>
> Subject: Re: [imp] Re: [dev] IMP HEAD & sending messages with attachment and
specialchar in IE
> To: imp@lists.horde.org
>
> Are there any javascript errors on the page? also is this on Win XP?
>
> - Mike :-)
>
> Quoting Amith Varghese <amith@xalan.com>:
>
> > Another note, this works correctly with IE 5.5. Perhaps it is a bug with
> > 6.0?
> > Can anyone reproduce this?
> >
> > Thanks
> > Amith
> >
> > > ----- Message from amith@xalan.com ---------
> > > Date: Wed, 21 Aug 2002 22:44:04 -0400
> > > From: Amith Varghese <amith@xalan.com>
> > > Reply-To: Amith Varghese <amith@xalan.com>
> > > Subject: [imp] Re: [dev] IMP HEAD & sending messages with attachment and
> > specialchar in IE
> > > To: dev@lists.horde.org, imp@lists.horde.org
> > >
> > > Should have really posted this to the imp list (I think).... but anyway I
> > did
> > > some further debugging and found out that $actionID is empty. Does this
> > ring
> > > any bells for anyone?
> > >
> > > Thanks
> > > Amith
> > >
> > > > ----- Message from amith@xalan.com ---------
> > > > Date: 21 Aug 2002 18:58:08 -0400
> > > > From: Amith Varghese <amith@xalan.com>
> > > > Reply-To: Amith Varghese <amith@xalan.com>
> > > > Subject: [dev] IMP HEAD & sending messages with attachment and special
> > > char in IE
> > > > To: dev@lists.horde.org
> > > >
> > > > I'm having problems with IMP-HEAD and sending messages. Its a really
> > > > strange error, but I am unable to send a particular message under IE
> > > > 6.0.2600.0000 To repeat this try the following:
> > > >
> > > > 1) Open IE6
> > > > 2) Compose a new message
> > > > 3) Paste the following text for the message:
> > > >
> > > > However, they all pointed out that it will be difficult for agencies to
> > > > do business with us because we don't have a GSA schedule. With a
> > > > schedule, agencies can give us up to $100K on sole source basis.
> > > >
> > > > 4) Attach any document as an attachment.
> > > > 5) Send the message
> > > >
> > > > What happens for me is that the compose window stays open and nothing
> > > > gets sent. The strange part is that if I
> > > >
> > > > a) remove the attachment - e-mail gets sent correctly
> > > > b) change "don't" to "dont" - e-mail gets sent correctly
> > > > c) use mozilla (no changes are needed to the e-mail message) - e-mail
> > > > gets sent correctly
> > > >
> > > > Anyone have a clue why the message doesn't get sent under IE?
> > > >
> > > > Thanks
> > > > Amith
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Horde developers mailing list
> > > > Frequently Asked Questions: http://horde.org/faq/
> > > > To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> > > >
> > > > ----- End message from amith@xalan.com -----
> > >
> > > --
> > > IMP mailing list
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > >
> > > ----- End message from amith@xalan.com -----
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
> --
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
> ----- End message from mike@graftonhall.co.nz -----