File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub async fn get_smtp_client(
52
52
. port ( config. port )
53
53
. connect ( )
54
54
. await
55
- . map_err ( |e| format ! ( "Error connecting to SMTP mail server: at {full_address}. Is it running? Error message: {e}" ) ) ?;
55
+ . map_err ( |e| format ! ( "Error connecting to SMTP mail server at {full_address}. Is it running? Error message: {e}" ) ) ?;
56
56
Ok ( connection)
57
57
}
58
58
Original file line number Diff line number Diff line change @@ -94,15 +94,6 @@ impl AppState {
94
94
} ;
95
95
store. set_handle_commit ( Box :: new ( send_commit) ) ;
96
96
97
- if let Some ( host) = & config. opts . smpt_host {
98
- store
99
- . set_smtp_config ( SmtpConfig {
100
- host : host. clone ( ) ,
101
- port : config. opts . smpt_port ,
102
- } )
103
- . await ?;
104
- } ;
105
-
106
97
// If the user changes their server_url, the drive will not exist.
107
98
// In this situation, we should re-build a new drive from scratch.
108
99
if should_initialize {
You can’t perform that action at this time.
0 commit comments