Added setting for SMTP hello command.

This commit is contained in:
2024-02-16 13:04:27 +01:00
parent 65e80640d5
commit af8ddc4356
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -65,6 +65,7 @@ pub struct Mailing {
from: String,
path: Option<String>,
server: Option<String>,
hello_name: Option<String>,
port: Option<u16>,
user: Option<String>,
password: Option<String>,
@@ -86,6 +87,9 @@ impl Mailing {
pub fn server(&self) -> &Option<String> {
&self.server
}
pub fn hello_name(&self) -> &Option<String> {
&self.hello_name
}
pub fn port(&self) -> Option<u16> {
self.port
}