projects
/
stakingWatchdog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa183b3
)
Remove two useless comments
author
Greg Burri
<greg.burri@gmail.com>
Wed, 22 Nov 2023 14:40:25 +0000
(15:40 +0100)
committer
Greg Burri
<greg.burri@gmail.com>
Wed, 22 Nov 2023 14:40:25 +0000
(15:40 +0100)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index
1b09673
..
08039fb
100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-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);