RFC822 Message-Id in new Gmail API

前端 未结 2 916
面向向阳花
面向向阳花 2021-01-21 18:14

We are trying to set manually the RFC822 Message-Id when sending emails using the gmail api. We have tested but seen that Gmail overrides our value. Do you know if there is a re

相关标签:
2条回答
  • 2021-01-21 18:22

    The nice thing about specifying a custom Message-Id is that the Id value will be passed thru to replies of the original message via the "References" header which makes it a nice method for tracking an email thread without having an extra lookup database to associate an ID with other data.

    I'm looking for some kind of alternative since google does not let you override their value...

    0 讨论(0)
  • 2021-01-21 18:43

    Yes the Message-Id is always set for mail sending to be the proper format for outgoing Gmail mail, the same format as the web interface.

    What exactly is reason for needing to specify your own value instead of using either the message.id value returned during send for your own identifier or the final Message-Id header?

    0 讨论(0)
提交回复
热议问题