Closed canardoFR closed 1 month ago
Hi,
current policy is EMailPolicy with falls back to default.
BUT, default is not SMTP: https://docs.python.org/3/library/email.policy.html#email.policy.EmailPolicy email.policy.default¶ An instance of EmailPolicy with all defaults unchanged. This policy uses the standard Python \n line endings rather than the RFC-correct \r\n.
email.policy.SMTP Suitable for serializing messages in conformance with the email RFCs. Like default, but with linesep set to \r\n, which is RFC compliant.
Thus, the policy should be set to SMTP...
Cheers
Hi,
current policy is EMailPolicy with falls back to default.
BUT, default is not SMTP: https://docs.python.org/3/library/email.policy.html#email.policy.EmailPolicy email.policy.default¶ An instance of EmailPolicy with all defaults unchanged. This policy uses the standard Python \n line endings rather than the RFC-correct \r\n.
Thus, the policy should be set to SMTP...
Cheers