1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Set send time on sending

This commit is contained in:
M66B 2021-02-20 14:29:37 +01:00
parent 3a8bad6208
commit c0b2d463bf

View file

@ -512,6 +512,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
message.msgid = EntityMessage.generateMessageId(from.substring(at + 1));
}
// Set sent time
message.sent = new Date().getTime();
db.message().setMessageSent(message.id, message.sent);
// Create message
Properties props = MessageHelper.getSessionProperties();
// https://javaee.github.io/javamail/docs/api/javax/mail/internet/package-summary.html