Remove two useless comments
authorGreg Burri <greg.burri@gmail.com>
Wed, 22 Nov 2023 14:40:25 +0000 (15:40 +0100)
committerGreg Burri <greg.burri@gmail.com>
Wed, 22 Nov 2023 14:40:25 +0000 (15:40 +0100)
src/main.rs

index 1b09673..08039fb 100644 (file)
@@ -263,12 +263,10 @@ fn send_email(
 
     let creds = Credentials::new(login.to_string(), pass.to_string());
 
 
     let creds = Credentials::new(login.to_string(), pass.to_string());
 
-    // Open a remote connection to gmail
     let mailer = SmtpTransport::relay(smtp_relay_address)?
         .credentials(creds)
         .build();
 
     let mailer = SmtpTransport::relay(smtp_relay_address)?
         .credentials(creds)
         .build();
 
-    // Send the email
     let response = mailer.send(&email)?;
 
     println!("{:?}", response);
     let response = mailer.send(&email)?;
 
     println!("{:?}", response);