Hi,
thanks, code has been added to cvs :)
regards roel
Craig Whitmore heeft op donderdag, 5 dec 2002 om 19:44
(Europe/Amsterdam) het volgende geschreven:
See the patch below that Klas patched yesterday. It fixes this
problem. The
bug occurs in quoted_string_out in imaputil.c which quotes strings.
Quite a
number of email clients (like outlook express) doesn't like how dbmail
was
quoting it. This meant outlook express wouldn't show them.
There is still a bug in show_address_list in imaputil.c in the line
saying
fprintf(outstream,"%c",mr->value[i]); where mr-value[i] can be a
"special
character" (but as we have already put a " at the beginning of this
quoting
we cannot go {1}\015\012%s), But Klas is working on it..
Thanks
Craig
------------------------
int quoted_string_out(FILE *outstream, const char *s)
{
int i,cnt;
for (i = 0; i < strlen(s); i++) { // check if must use literal
if (!(s[i] & 0xe0) || (s[i] & 0x80) || (s[i] == '"') || (s[i] ==
'\\'))
{
cnt = fprintf(outstream, "{");
cnt += fprintf(outstream, "%i", strlen(s));
cnt += fprintf(outstream, "}\015\012");
cnt += fprintf(outstream, "%s", s);
return cnt;
}
}
cnt = fprintf(outstream, "\"");
cnt += fprintf(outstream, "%s", s);
cnt += fprintf(outstream, "\"");
return cnt;
----- Original Message -----
From: "Sam Przyswa" <[EMAIL PROTECTED]>
To: <dbmail@dbmail.org>
Sent: Friday, December 06, 2002 3:06 AM
Subject: Re: [Dbmail] Error in dbmail-imapd
Roel Rozendaal - IC&S ([EMAIL PROTECTED]) écrivait:
Well that's an outlook thing. Folders are imap stuff, the messages
are
just stored and retrieved without any intervention.
On Outlook Express we use the "headers only" to only store the
messages
header not
the whole message. The same mail on Courier-IMAP appear without
problem in
Outlook
Express ?!
Sam Przyswa heeft op woensdag, 4 dec 2002 om 11:50 (Europe/Amsterdam)
het volgende geschreven:
This bug appear only with Outlook 2000, we have found an other bug
with Outlook
Express, if you have a mail with accentued characters in the
Subject:
field
as "éèà" this mail don't appear in Outlook Express, we don't know
why
???
Sam.
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail