diff --git a/src/mail.rs b/src/mail.rs index 22944b3..71fe5af 100644 --- a/src/mail.rs +++ b/src/mail.rs @@ -125,6 +125,13 @@ impl Service { } }; + if cfg!(debug_assertions) { + for recipient in to.iter() { + println!("To: {}", recipient.to_string()); + } + println!("{}", txt.as_ref().unwrap().to_string()); + } + let mut email = EmailBuilder::new() .from(self.from.clone()) .subject(subject)