Skip to content

Commit 979b1c6

Browse files
committed
backend: Use tls instead of starttls for emails
1 parent 3143581 commit 979b1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async fn main() -> std::io::Result<()> {
132132
.expect("EMAIL_RELAY_PORT must be set")
133133
.parse()
134134
.unwrap();
135-
SmtpTransport::starttls_relay(&relay)
135+
SmtpTransport::relay(&relay)
136136
.unwrap()
137137
.port(port)
138138
.credentials(Credentials::new(email, pass))

0 commit comments

Comments
 (0)