Answer the question
In order to leave comments, you need to log in
How to fix smtp python error 550?
I'm trying to send an email via python smtp
import smtplib
server = smtplib.SMTP_SSL('smtp.ukr.net', 465)
server.login("***[email protected]", "***pYCLT2")
server.sendmail(
'[email protected]',
'***[email protected]',
'this message is from python '
)
server.quit()
smtplib.SMTPDataError: (550, b"We do not allow to send messages without 'From' header")
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