TF-3349 Add integration test for forward email

This commit is contained in:
dab246
2024-12-18 15:48:50 +07:00
committed by Dat H. Pham
parent e9547c780c
commit 03e1c0e13f
15 changed files with 240 additions and 22 deletions
@@ -0,0 +1,42 @@
Return-Path: <emma@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Fwd: Forward email to Bob
From: emma@example.com
To: "bob@example.com" <bob@example.com>
Cc: "alice@example.com" <alice@example.com>
Bcc: "brian@example.com" <brian@example.com>
Reply-To: emma@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
Forward email to Bob
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=-
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=---
@@ -0,0 +1,40 @@
Return-Path: <alice@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Alice send Bob
From: alice@example.com
To: "bob@example.com" <bob@example.com>
Reply-To: alice@example.com
Date: Tue, 29 Oct 2024 04:13:50 +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
Hello Bob.
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=-
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=---
@@ -0,0 +1,40 @@
Return-Path: <brian@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Brian send Bob
From: brian@example.com
To: "bob@example.com" <bob@example.com>
Reply-To: brian@example.com
Date: Wed, 30 Oct 2024 08:13:50 +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
Hello Bob.
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=-
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=---
@@ -0,0 +1,40 @@
Return-Path: <charlotte@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Charlotte send Bob
From: charlotte@example.com
To: "bob@example.com" <bob@example.com>
Reply-To: charlotte@example.com
Date: Thu, 31 Oct 2024 12:13:50 +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
Hello Bob.
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=-
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=---
@@ -0,0 +1,40 @@
Return-Path: <david@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: David send Bob
From: david@example.com
To: "bob@example.com" <bob@example.com>
Reply-To: david@example.com
Date: Fri, 1 Nov 2024 07:13:50 +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
Hello Bob.
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=-
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=---
@@ -0,0 +1,40 @@
Return-Path: <emma@example.com>
MIME-Version: 1.0
References: <Mime4j.4c.b3b452d18f0d0ef9.192d67aaafc@example.com>
Subject: Emma send Bob
From: emma@example.com
To: "bob@example.com" <bob@example.com>
Reply-To: emma@example.com
Date: Sat, 2 Nov 2024 13:13:50 +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
Hello Bob.
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=-
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=---