Skip to content

Commit 009854d

Browse files
Merge pull request #27 from async-email/no-hostname-exposure
2 parents f0614fc + 4f68905 commit 009854d

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)