[imp] HEAD: Reply from any but INBOX not working
Jan Kuipers
jrkuipers@lauwerscollege.nl
Wed, 27 Feb 2002 17:18:14 +0100
Citeren "Marcus I. Ryan" <marcus@riboflavin.net>:
> $mailbox = Horde::getFormData('thismailbox', $imp['mailbox']);
> returns a url-encoded mailbox, e.g. .imap%2FHorde-INBOX, not
> .imap/Horde-INBOX as imap_open expects. When the imap_open call is
> made, it seems it ignores the urlEncoded mailbox name and automatically
> opens the INBOX thus leaving $imp['stream'] as a stream to the inbox,
> NOT the current mailbox. When you go to reply, that's a problem. I put
> a urlDecode call around that line and it now works fine. I have not
> tested this to ANY real degree other than now when I reply to a message
> everything works fine.
Indeed. This seems to do the trick.
--
Jan Kuipers
Systeembeheer Lauwers College