diff options
author | iximeow <git@iximeow.net> | 2022-12-25 08:17:28 +0000 |
---|---|---|
committer | iximeow <git@iximeow.net> | 2022-12-25 08:17:28 +0000 |
commit | cb418168d9375d4ea6c9d21ee6b97e02a575fb4b (patch) | |
tree | 8d96ef3354840b25401817611159ad68ef554f7c /src/notifier.rs | |
parent | 4a213e872395f9b0562c113bb7303815a1d26a57 (diff) |
support uploading artifacts during builds
Diffstat (limited to 'src/notifier.rs')
-rw-r--r-- | src/notifier.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/notifier.rs b/src/notifier.rs index 4ddc91b..3d9964a 100644 --- a/src/notifier.rs +++ b/src/notifier.rs @@ -1,6 +1,11 @@ use serde_derive::{Deserialize, Serialize}; use std::sync::Arc; use axum::http::StatusCode; +use lettre::transport::smtp::authentication::{Credentials, Mechanism}; +use lettre::{Message, Transport}; +use lettre::transport::smtp::extension::ClientId; +use lettre::transport::smtp::client::{SmtpConnection, TlsParametersBuilder}; +use std::time::Duration; use crate::DbCtx; |