mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Added SMTP DSN
This commit is contained in:
@@ -584,6 +584,12 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
iservice.setUseIp(ident.use_ip, ident.ehlo);
|
||||
iservice.setUnicode(ident.unicode);
|
||||
|
||||
if (message.receipt_request != null && message.receipt_request) {
|
||||
int receipt_type = prefs.getInt("receipt_type", 2);
|
||||
if (receipt_type == 1 || receipt_type == 2) // Delivery receipt
|
||||
iservice.setDsnNotify("SUCCESS,FAILURE,DELAY");
|
||||
}
|
||||
|
||||
// Connect transport
|
||||
db.identity().setIdentityState(ident.id, "connecting");
|
||||
iservice.connect(ident);
|
||||
|
||||
Reference in New Issue
Block a user