发送电子邮件通知时可以并且应该设置哪些标头?
我正在编写一个电子邮件发送器,向用户发送有关他们订阅的各种内容的通知,但我对电子邮件的了解仅限于此。所以我很好奇可以设置哪些电子邮件标题,以及应该设置哪些?是否有对电子邮件客户端有用且我可能感兴趣的非 RFC 标头?
任何建议表示赞赏。
I'm writing an email sender that sends notifications to users about various things they've subscribed too, but I don't have more than shallow understanding of emails. So I'm curious what email headers can be set, and which ones should be set? Are there non-RFC headers that are useful for email clients, that could be interesting to me?
Any advice is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也刚刚开始了解电子邮件标题。据我所知,以“X”开头的标头是可选的,并且可以是您自己的用于不同目的的自定义标头。
I've just started to learn about email headers as well. I understand that headers starting with "X" are optional and can be your own custom headers used for different purposes.