0
私はMEIL DROMジャンゴ/しかし、ガットエラー [SSL:UNKNOWN_PROTOCOL]送ってみてください(_ssl.c:661)は、未知のプロトコルを自分のコードSSLエラー
:
DEFAULT_FROM_EMAIL = '[email protected]'
html = render_to_string('email/html/new_order.html', {'order': self, 'image_code': True})
email = EmailMultiAlternatives(
'Greetings from Discovery Russia',
html,
DEFAULT_FROM_EMAIL,
to=[self.user_email, '[email protected]'])
email.attach_alternative(html, "text/html")
email.mixed_subtype = 'related'
try:
email.send()
except SMTPRecipientsRefused:
pass
どのように私テットを修正できますか?