mail-copy.c revision 2ebeb22b9a8a8bb7fbe2f2e2908478a220792b87
/* Copyright (C) 2004 Timo Sirainen */
#include "lib.h"
#include "istream.h"
#include "mail-storage.h"
#include "mail-copy.h"
{
struct mail_save_context *ctx;
const char *from_envelope;
return -1;
return -1;
if (mailbox_save_continue(ctx) < 0)
break;
}
if (input->stream_errno != 0) {
return -1;
}
return mailbox_save_finish(&ctx);
}