Answer the question
In order to leave comments, you need to log in
Why doesn't EmailMultiAlternatives send email?
I'm trying to send an email to an email address with a pdf attachment. There are no errors, but the letter does not come to the mail. What is wrong with my code, please tell me?
email = EmailMultiAlternatives(
'Subject here', 'Here is the message.', '[email protected]',
['[email protected]'])
email.attach_file('nds.pdf')
email.send()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question