mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
turns out the esearch tag is a string before imap4rev2, so can't blame new outlook
This commit is contained in:
parent
2ae121e400
commit
9d2e761494
1 changed files with 2 additions and 2 deletions
|
@ -221,8 +221,8 @@ func (c *conn) cmdxSearch(isUID bool, tag, cmd string, p *parser) {
|
||||||
|
|
||||||
// No untagged ESEARCH response if nothing was requested. ../rfc/9051:4160
|
// No untagged ESEARCH response if nothing was requested. ../rfc/9051:4160
|
||||||
if len(eargs) > 0 {
|
if len(eargs) > 0 {
|
||||||
// Microsoft Outlook "new" (Microsoft Office 365/15.20.7025.17) seems to fail when
|
// The tag was originally a string, became an astring in IMAP4rev2, better stick to
|
||||||
// the tag value doesn't have double quotes. These quotes are optional.
|
// string. ../rfc/4466:707 ../rfc/5259:1163 ../rfc/9051:7087
|
||||||
resp := fmt.Sprintf(`* ESEARCH (TAG "%s")`, tag)
|
resp := fmt.Sprintf(`* ESEARCH (TAG "%s")`, tag)
|
||||||
if isUID {
|
if isUID {
|
||||||
resp += " UID"
|
resp += " UID"
|
||||||
|
|
Loading…
Reference in a new issue