1 parent
a238ff5e23
commit
93762fe9ef
65 files changed
+5420
-2792
No files matched your search
@@ -7,6 +7,7 @@ pub struct SmtpCredentials {
|
||||
pub host: String,
|
||||
pub port: u16,
|
||||
pub tls: bool,
|
||||
pub tls_verify: bool,
|
||||
pub email: String,
|
||||
pub password: String,
|
||||
}
|
||||
@@ -52,6 +53,8 @@ pub struct SendableMessage {
|
||||
pub attachments: Vec<AttachmentData>,
|
||||
/// Optional OpenPGP transformation applied to the MIME entity.
|
||||
pub pgp: Option<PgpSendConfig>,
|
||||
/// Hard limit for the final RFC822/MIME payload submitted to SMTP.
|
||||
pub max_message_size_bytes: usize,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
|
||||
Reference in new issue
Block a user