|
|
|
|
@ -423,7 +423,8 @@ class YandexAvisoView(APIView): |
|
|
|
|
html_content = render_to_string('mail/sales/pay_access.html', context) |
|
|
|
|
text_content = strip_tags(html_content) |
|
|
|
|
|
|
|
|
|
msg = EmailMultiAlternatives(subject, text_content, to=[to], bcc=['dmitry.dolya@skillbox.ru']) |
|
|
|
|
msg = EmailMultiAlternatives( |
|
|
|
|
subject, text_content, to=[to], bcc=['dmitry.dolya@skillbox.ru', 'vera.procenko@skillbox.ru']) |
|
|
|
|
msg.attach_alternative(html_content, "text/html") |
|
|
|
|
msg.send() |
|
|
|
|
|
|
|
|
|
|