这是indexloc提供的服务,不要输入任何密码
Skip to content

How to send reply to same thread? #105

@DeadNumbers

Description

@DeadNumbers

I'm get Message-ID from imap

    mr, _ := mail.CreateReader(r)
    header := mr.Header
    msgId, _ = header.MessageID()

and build new message:

    msg.SetHeader("In-Reply-To", msgId)
    msg.SetHeader("References", msgId)
    msg.SetHeader("From", login)
    msg.SetHeader("To", "myaccount@gmail.com")

This email is not displayed in the correspondence thread, it is visible as a new email. How to send email in thread?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions