mirror of
https://github.com/hanzoai/mail.git
synced 2026-09-23 23:53:02 +00:00
so users can easily take their email out of somewhere else, and import it into mox. this goes a little way to give feedback as the import progresses: upload progress is shown (surprisingly, browsers aren't doing this...), imported mailboxes/messages are counted (batched) and import issues/warnings are displayed, all sent over an SSE connection. an import token is stored in sessionstorage. if you reload the page (e.g. after a connection error), the browser will reconnect to the running import and show its progress again. and you can just abort the import before it is finished and committed, and nothing will have changed. this also imports flags/keywords from mbox files.
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
From mox Sun Jan 23 20:41:55 2022
|
|
Return-Path: <>
|
|
From: [email protected]
|
|
To: [email protected]
|
|
Subject: hi
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 7bit
|
|
Date: Wed, 10 Nov 2021 23:47:13 +0100
|
|
Message-ID: <[email protected]>
|
|
MIME-Version: 1.0
|
|
Status: RO
|
|
X-Status: AFTD
|
|
X-Keywords: $NotJunk,$Forwarded
|
|
Content-Length: 15
|
|
Lines: 3
|
|
|
|
>From testing
|
|
test2
|
|
end
|
|
|
|
From mox Sun Jan 23 21:02:16 2022
|
|
Return-Path: <[email protected]>
|
|
Received: from x1.mox.example ([10.1.1.1]) by x1.a.mox ([10.1.1.1])
|
|
with ESMTP for [email protected]; 23 Jan 2022 21:02 +0100
|
|
Authentication-Results: x1.a.mox; iprev=fail policy.iprev=10.1.1.1;
|
|
dkim=pass header.d=c.mox header.s=2021 header.a=rsa-sha256
|
|
[email protected]; spf=none smtp.mailfrom=c.mox; dmarc=pass
|
|
header.from=c.mox
|
|
Received-SPF: none client-ip=10.1.1.1;
|
|
envelope-from="[email protected]"; helo=x1.mox.example;
|
|
problem="no\ spf\ txt\ record:\ no\ txt\ record"; received=x1.a.mox;
|
|
identity=mailfrom
|
|
Received: from x1.mox.example by x1.mox.example ([10.1.1.1]) with
|
|
ESMTP for [email protected]; 23 Jan 2022 20:39 +0100
|
|
Authentication-Results: x1.mox.example; auth=pass
|
|
[email protected]
|
|
DKIM-Signature: v=1; a=rsa-sha256; d=c.mox; s=2021; [email protected];
|
|
t=1642966793; h=From:To:Cc:Bcc:Reply-To:References:In-Reply-To:Subject:Date:
|
|
Message-ID:Content-Type:From:To:Subject:Date:Message-ID:Content-Type;
|
|
bh=jhmPv2Vh8l0Ezw0V1P64SjmGjgfM2tek6qiEL0zehQc=; b=h4NspINb2TA+VkSr+Try4Rz24W
|
|
hor/vjkfX4EyDg6nb0mB4RUlgQiwPrqnjJLLkp9DnUhSuJEwGjMUdRG5160K04c4/KDkzCctj6Bot
|
|
IrOCOJ3yyC4z5wUAdivn4OOZmjq9d5eBEBvbiXFGVesZODzAGLZGAiGuSey+8ap18i1FaiRZeMB7e
|
|
X5tjAMMlxIGU/1eN6xAchpi8/Pww7VBU13rhq3ge4cFo1rhftF8wHBNSehlBqvA6/WYEAMD/4DD7S
|
|
owenI72sQapxo3Yc2EdZ2f/ZYJgKgR5i6WmE6E/sTVZzDJ2eOYIUHwF1bYBeLNM7ITfAAoPotn0KB
|
|
hZpchIQw==
|
|
Message-ID: <[email protected]>
|
|
Date: Sun, 23 Jan 2022 20:39:53 +0100
|
|
MIME-Version: 1.0
|
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
|
|
Thunderbird/91.4.0
|
|
Content-Language: nl
|
|
To: [email protected]
|
|
From: thunderbird c <[email protected]>
|
|
Subject: test van c
|
|
Content-Type: text/plain; charset=UTF-8; format=flowed
|
|
Content-Transfer-Encoding: 7bit
|
|
Status: RO
|
|
Content-Length: 11
|
|
Lines: 1
|
|
|
|
test van c
|
|
|