GMail threading, IMAP and Ruby

后端 未结 1 744
野的像风
野的像风 2021-02-08 21:42

I am using the Ruby IMAP library to get a GMail conversation. The way that GMail threads conversations is via \"Message-ID\" and \"In-Reply-To\" message headers. For example:

相关标签:
1条回答
  • 2021-02-08 22:04

    Apparently, the correct way to do this is:

    imap.search ["HEADER", "MESSAGE-ID", target]
    
    0 讨论(0)
提交回复
热议问题