linter updates

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2021-11-12 15:48:17 +01:00
parent c1a4547261
commit c8f6a6d272
36 changed files with 1005 additions and 614 deletions

View File

@@ -1,14 +1,11 @@
// SPDX-License-Identifier: (0BSD or MIT)
/*
* advotracker - Hotline tackingtool for Advocats
* advotracker - Hotline tackingtool for Advocats
* Copyright 2020 Ralf Zerres <ralf.zerres@networkx.de>
*/
* Copyright 2020 Ralf Zerres <ralf.zerres@networkx.de>
*/
use lettre::{
transport::smtp::authentication::Credentials,
Message, SmtpTransport, Transport,
};
use lettre::{transport::smtp::authentication::Credentials, Message, SmtpTransport, Transport};
fn main() {
let email = Message::builder()
@@ -21,7 +18,10 @@ fn main() {
// Create credential for remote authentication (username, password)
//let creds = Credentials::new("ralf.zerres@networkx.de".to_string(), "dekifjgh".to_string());
let creds = Credentials::new("ralf.zerres.de@gmail.com".to_string(), "20jacara03".to_string());
let creds = Credentials::new(
"ralf.zerres.de@gmail.com".to_string(),
"20jacara03".to_string(),
);
// Open a remote connection to relay server
//let mailer = SmtpTransport::relay("nwxex.networkx.de")