TF-3554 Add provisioning for integration test reply email

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-17 02:55:32 +07:00
committed by Dat H. Pham
parent f3376e32fa
commit 260ed6c42f
3 changed files with 15 additions and 8 deletions
@@ -19,7 +19,7 @@ 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
Fwd: Forward email to Bob
Invite you in to a meeting: Event OPEN TECH TALK: INNOVATION FOR THE TWAKE WORKPLACE
+10 -1
View File
@@ -2,7 +2,7 @@
# Define users and folders
users=("alice" "bob" "brian" "charlotte" "david" "emma")
bobFolders=("Search Emails" "Forward Emails" "Disposition" "MailBase64" "Calendar" "Reply Emails")
bobFolders=("Search Emails" "Forward Emails" "Disposition" "MailBase64" "Calendar" "Reply Emails" "Reply Emails")
# Add users
for user in "${users[@]}"; do
@@ -72,6 +72,15 @@ james-cli ImportEml \#private "bob@example.com" "Calendar" "/root/conf/integrati
# Import emails into 'Reply Emails' folder for user Bob
replyEmailsEML=("reply-all.eml" "reply-to-list.eml" "with-reply-to.eml" "without-reply-to.eml" "reply-thread.eml")
for eml in "${replyEmailsEML[@]}"; do
echo "Importing $eml into 'Reply Emails' folder for user bob"
james-cli ImportEml \#private "bob@example.com" "Reply Emails" "/root/conf/integration_test/eml/reply_email/$eml"
done
# For test reply email
# Import emails into 'Reply Emails' folder for user Bob
replyEmailsEML=("reply-all.eml" "reply-to-list.eml" "with-reply-to.eml" "without-reply-to.eml")
for eml in "${replyEmailsEML[@]}"; do
echo "Importing $eml into 'Reply Emails' folder for user bob"
james-cli ImportEml \#private "bob@example.com" "Reply Emails" "/root/conf/integration_test/eml/reply_email/$eml"