diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 624727e1b0..3c9634948f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> + + * mail-ops.c (do_fetch_mail): If we're fetching from an mbox + formatted file then we need to do some special-casing. + 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * mail-display.c: Fixed some warnings. diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 082e64fd28..482bfd430e 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -123,7 +123,10 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex) return; } - folder = mail_tool_get_inbox (input->source_url, ex); + if (!strncmp (input->source_url, "mbox:", 5)) + folder = mail_tool_do_movemail (input->source_url, ex); + else + folder = mail_tool_get_inbox (input->source_url, ex); if (folder == NULL) { /* This happens with an IMAP source and on error |