We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bbd7e commit be4c2b9Copy full SHA for be4c2b9
src/mimefactory.rs
@@ -543,6 +543,11 @@ impl MimeFactory {
543
for (name, addr) in &self.recipients {
544
if let Some(email_to_remove) = email_to_remove {
545
if email_to_remove == addr {
546
+ if name.is_empty() {
547
+ past_members.push(Address::new_mailbox(addr.clone()));
548
+ } else {
549
+ past_members.push(new_address_with_name(name, addr.clone()));
550
+ }
551
continue;
552
}
553
@@ -563,6 +568,11 @@ impl MimeFactory {
563
568
564
569
565
570
571
+ debug_assert!(
572
+ undisclosed_recipients
573
+ || self.member_timestamps.is_empty()
574
+ || to.len() + past_members.len() == self.member_timestamps.len()
575
+ );
566
576
if to.is_empty() {
567
577
to.push(Address::new_group(
578
"hidden-recipients".to_string(),
0 commit comments