Mark sent emails as read
This commit is contained in:
parent
5f651b32e5
commit
35f57321f8
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/emersion/go-imap"
|
||||||
"github.com/emersion/go-sasl"
|
"github.com/emersion/go-sasl"
|
||||||
"github.com/emersion/go-smtp"
|
"github.com/emersion/go-smtp"
|
||||||
"github.com/gdamore/tcell"
|
"github.com/gdamore/tcell"
|
||||||
|
@ -180,7 +181,7 @@ func SendMessage(aerc *widgets.Aerc, args []string) error {
|
||||||
r, w := io.Pipe()
|
r, w := io.Pipe()
|
||||||
worker.PostAction(&types.AppendMessage{
|
worker.PostAction(&types.AppendMessage{
|
||||||
Destination: config.CopyTo,
|
Destination: config.CopyTo,
|
||||||
Flags: []string{},
|
Flags: []string{imap.SeenFlag},
|
||||||
Date: time.Now(),
|
Date: time.Now(),
|
||||||
Reader: r,
|
Reader: r,
|
||||||
Length: nbytes,
|
Length: nbytes,
|
||||||
|
|
Loading…
Reference in a new issue