[imp] compose windows does not close and subject misses spaces

Ryan Gallagher ryan@studiesabroad.com
Thu Oct 24 18:25:11 2002


Quoting Stathakopoulos Giorgos <stathako@cti.gr>:

> 
> Hello again,
> 
> I've unchecked the option for "save in sent-mail folder" and the compose
> window close as the mail gets sent.
> 
> I use courier imap and have 'folders'=>'INBOX.'.
> Do I have to do something else?
> 
> I found that the problem with the subject appears when I use greek
> characters (ISO8859-7) and the mail goes through qmail-scanner.
> 
> George
> 
> 
> On Thu, 24 Oct 2002, Stathakopoulos Giorgos wrote:
> 
> >
> > Hello all,
> >
> > I made a fresh installation of latest stable horde/imp on
> > apache-1.3.27/php-4.2.3 on a Solaris 8 machine.
> >
> > When I send a message, the message gets sent and I get a blank window.
> >
> > I get no segmentation fault in apache error log.
> > I changed date to strftime as it was described in mailing list but it
> > didn't help.
> >
> > I also have a problem with subject that loses its spaces. If I write in
> > subject line "Hello all" I get "Helloall" as subject.
> >
> > Have you any ideas about these issues?
> >
> > Thanks in advance,
> > George Stathakopoulos

We had similiar problems surrounding the combination of "attachments" +
"non-standard chars in the body".  The main characters we were catching was the
angled quotes.  This is commonly inserted when a user copies text from a
MSword/OOo document and pastes it in body.  Those apps translate quotes into the
fancy for-print ones.  IMP did not like these when attachments were present and
simply refreshed the compose window upon send.

We just added JS regex to the compose.inc template to filter on these problem
characters.

-- 
Ryan T. Gallagher