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:
parent
3a8bad6208
commit
c0b2d463bf
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue