Django Book 翻译
菜单>:
TOC
返回
原文:
If you do not use Djangos built-in mail functions to send email, youll need to make sure that newlines in headers either cause an error or are stripped. You may want to examine the ``SafeMIMEText`` class in ``django.core.mail`` to see how Django does this.
翻译:
如果你没有使用Django内建邮件功能来发送邮件,那么你需要确保包含在邮件头部的换行符能够引发错误或者被去掉。你或许想仔细阅读 ``django.core.mail`` 中的 ``SateMIMEText`` 类来看看Django是如何做到这一点的。
备注:
译者: