mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
fix and implement ffi tranlation
This commit is contained in:
committed by
Floris Bruynooghe
parent
5486ac5b9f
commit
0bf3d20e07
@@ -52,7 +52,7 @@ impl Smtp {
|
||||
}
|
||||
|
||||
if lp.send_server.is_empty() || lp.send_port == 0 {
|
||||
context.call_cb(Event::ErrorNetwork(0, "SMTP bad parameters.".into()));
|
||||
context.call_cb(Event::ErrorNetwork("SMTP bad parameters.".into()));
|
||||
}
|
||||
|
||||
self.from = if let Ok(addr) = EmailAddress::new(lp.addr.clone()) {
|
||||
|
||||
Reference in New Issue
Block a user