TF-3674 Add integration test for reply email

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-21 14:13:15 +07:00
committed by Dat H. Pham
parent 90f4e0b746
commit 7a819191cb
19 changed files with 586 additions and 37 deletions
@@ -0,0 +1,36 @@
Return-Path: <emma@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Reply all email
From: emma@example.com
To: "bob" <bob@example.com>
Cc: "alice" <alice@example.com>
Bcc: "brian" <brian@example.com>
Reply-To: emma-reply-to@example.com
Date: Tue, 17 Dec 2024 16:31:00 +0000
Message-ID: <Mime4j.4e.728b2b72b23cc182.192d67ae03c@example.com>
User-Agent: Twake-Mail/0.13.2 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15;
rv:131.0) Gecko/20100101 Firefox/131.0
Content-Type: multipart/alternative;
boundary="-=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-"
List-Post: <mailto:emma-reply-to-list@example.com>
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
Reply all email
Invite you in to a meeting: Event OPEN TECH TALK: INNOVATION FOR THE TWAKE WORKPLACE
Our 3rd Open Tech Talk in 2024!
► Topic: "Enhancing Multi-Tenancy Security"
► Topic: "Bringing Desktop Synchronization into TDrive"
► Topic: "Websocket: Real-time Update
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -0,0 +1,35 @@
Return-Path: <emma@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Reply to list email
From: emma@example.com
To: "bob" <bob@example.com>
Cc: "alice" <alice@example.com>
Bcc: "brian" <brian@example.com>
Date: Tue, 17 Dec 2024 16:31:00 +0000
Message-ID: <Mime4j.4e.728b2b72b23cc182.192d67ae03c@example.com>
User-Agent: Twake-Mail/0.13.2 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15;
rv:131.0) Gecko/20100101 Firefox/131.0
Content-Type: multipart/alternative;
boundary="-=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-"
List-Post: <mailto:emma-reply-to-list@example.com>
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
Reply to list email
Invite you in to a meeting: Event OPEN TECH TALK: INNOVATION FOR THE TWAKE WORKPLACE
Our 3rd Open Tech Talk in 2024!
► Topic: "Enhancing Multi-Tenancy Security"
► Topic: "Bringing Desktop Synchronization into TDrive"
► Topic: "Websocket: Real-time Update
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -0,0 +1,36 @@
Return-Path: <emma@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Reply email with Reply-To
From: emma@example.com
To: "bob" <bob@example.com>
Cc: "alice" <alice@example.com>
Bcc: "brian" <brian@example.com>
Reply-To: emma-reply-to@example.com
Date: Tue, 17 Dec 2024 16:31:00 +0000
Message-ID: <Mime4j.4e.728b2b72b23cc182.192d67ae03c@example.com>
User-Agent: Twake-Mail/0.13.2 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15;
rv:131.0) Gecko/20100101 Firefox/131.0
Content-Type: multipart/alternative;
boundary="-=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-"
List-Post: <mailto:emma-reply-to-list@example.com>
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
Reply email with Reply-To
Invite you in to a meeting: Event OPEN TECH TALK: INNOVATION FOR THE TWAKE WORKPLACE
Our 3rd Open Tech Talk in 2024!
► Topic: "Enhancing Multi-Tenancy Security"
► Topic: "Bringing Desktop Synchronization into TDrive"
► Topic: "Websocket: Real-time Update
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -0,0 +1,34 @@
Return-Path: <emma@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Reply email without Reply-To
From: emma@example.com
To: "bob" <bob@example.com>
Cc: "alice" <alice@example.com>
Bcc: "brian" <brian@example.com>
Date: Tue, 17 Dec 2024 16:31:00 +0000
Message-ID: <Mime4j.4e.728b2b72b23cc182.192d67ae03c@example.com>
User-Agent: Twake-Mail/0.13.2 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15;
rv:131.0) Gecko/20100101 Firefox/131.0
Content-Type: multipart/alternative;
boundary="-=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-"
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
Reply email without Reply-To
Invite you in to a meeting: Event OPEN TECH TALK: INNOVATION FOR THE TWAKE WORKPLACE
Our 3rd Open Tech Talk in 2024!
► Topic: "Enhancing Multi-Tenancy Security"
► Topic: "Bringing Desktop Synchronization into TDrive"
► Topic: "Websocket: Real-time Update
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -30,11 +30,4 @@ Our 3rd Open Tech Talk in 2024!
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -30,11 +30,4 @@ Our 3rd Open Tech Talk in 2024!
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -30,11 +30,4 @@ Our 3rd Open Tech Talk in 2024!
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -30,11 +30,4 @@ Our 3rd Open Tech Talk in 2024!
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---
@@ -30,11 +30,4 @@ Our 3rd Open Tech Talk in 2024!
We are waiting for you!
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=-
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT
Content-Language: en-US
---=Part.4f.450e1cfbcd355387.192d67ae03d.c367d8042fea24dd=---