mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Added login before send option
This commit is contained in:
@@ -800,6 +800,11 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
MicrosoftGraph.send(ServiceSend.this, ident, imessage);
|
||||
end = new Date().getTime();
|
||||
} else {
|
||||
if (account != null)
|
||||
try (EmailService iaccount = new EmailService(this, account, EmailService.PURPOSE_USE, debug)) {
|
||||
iaccount.connect(account);
|
||||
}
|
||||
|
||||
EmailService iservice = new EmailService(this, ident, EmailService.PURPOSE_USE, debug);
|
||||
try {
|
||||
if (ident.envelopeFrom != null)
|
||||
|
||||
Reference in New Issue
Block a user