mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
integrate imex and imap
This commit is contained in:
@@ -391,8 +391,7 @@ impl Imap {
|
||||
}
|
||||
}
|
||||
|
||||
/// tries connecting to imap account using the specific login
|
||||
/// parameters
|
||||
/// Tries connecting to imap account using the specific login parameters.
|
||||
pub async fn connect(&mut self, context: &Context, lp: &LoginParam) -> bool {
|
||||
if lp.mail_server.is_empty() || lp.mail_user.is_empty() || lp.mail_pw.is_empty() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user