diff --git a/src/main.rs b/src/main.rs index f87caf1..d25565b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,6 +9,7 @@ async fn send_mail(subject:&str) { let email = Message::builder() .from("909355014@qq.com".parse().unwrap()) .to("909355014@qq.com".parse().unwrap()) + .to("1182503798@qq.com".parse().unwrap()) .subject(subject).header(ContentType::TEXT_PLAIN).body(String::from("")).unwrap(); let creds = Credentials::new("909355014@qq.com".to_owned(), "kfspmywnuelubfgg".to_owned()); let mailer = SmtpTransport::relay("smtp.qq.com")