Commit 5d45dcaa authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #16628 TIME 0:40 consult an acknowledgment of receipt in the elements...

FIX #16628 TIME 0:40 consult an acknowledgment of receipt in the elements sent: show cc and cci if exist
parent 7da27168
......@@ -208,6 +208,19 @@ export class MailEditorComponent implements OnInit, OnDestroy {
return new Promise((resolve) => {
this.http.get(`../rest/acknowledgementReceipts/${emailId}`).pipe(
tap((data: any) => {
this.copies = data.acknowledgementReceipt.cc.map((item: any) => ({
label: item.label,
email: item.email,
badFormat: this.isBadEmailFormat(item.email)
}));
this.showCopies = this.copies.length > 0;
this.invisibleCopies = data.acknowledgementReceipt.cci.map((item: any) => ({
label: item.label,
email: item.email,
badFormat: this.isBadEmailFormat(item.email)
}));
this.showInvisibleCopies = this.invisibleCopies.length > 0;
this.currentSender = {
label: data.acknowledgementReceipt.userLabel,
email: data.acknowledgementReceipt.userLabel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment