Skip to content

Commit 4f68905

Browse files
committed
Do not expose the hostname to the server, just make it localhost
1 parent f0614fc commit 4f68905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smtp/smtp_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl SmtpClient {
108108
smtp_utf8: false,
109109
credentials: None,
110110
connection_reuse: ConnectionReuseParameters::NoReuse,
111-
hello_name: ClientId::hostname(),
111+
hello_name: ClientId::new("localhost".to_string()),
112112
authentication_mechanism: None,
113113
force_set_auth: false,
114114
timeout: Some(Duration::new(60, 0)),

0 commit comments

Comments
 (0)