TF-3614 E2E Team mailbox receive email

This commit is contained in:
DatDang
2025-04-04 10:55:18 +07:00
committed by Dat H. Pham
parent 9222f1ca22
commit e5d996eeb3
4 changed files with 91 additions and 5 deletions
@@ -84,4 +84,9 @@ replyEmailsEML=("reply-all.eml" "reply-to-list.eml" "with-reply-to.eml" "without
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
done
# For test team mailbox
curl -XPUT http://172.18.0.2:8000/domains/example.com/team-mailboxes/bob-guests
curl -XPUT http://172.18.0.2:8000/domains/example.com/team-mailboxes/bob-guests/members/bob@example.com?role=member
curl -XPUT http://172.18.0.2:8000/domains/example.com/team-mailboxes/bob-guests/members/alice@example.com?role=member