Constraints on SMTP Message-Id?

本小妞迷上赌 提交于 2019-12-05 05:38:18
vartec

The updated RFC is RFC2822.

As of characters allowed, it basically

::alpha::|::digit::|[!#$%&'*+-/=?^_`{}|~.]

(It's also possible to quote literals).

It has to contain @ separating "local part" and "domain part". It MUST be globally unique.

If you're looking for an example, you could look at the code for the email.utils.make_msgid Python library function.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!