Answer the question
In order to leave comments, you need to log in
How to send email with python script as windows user?
Sent anonymous emails via smtplib. As soon as the task of sending to the neighboring domain arose, problems began to appear. The problem of anonymity was solved by server.login(). Now the remote Exchange complains when the script is run as one user and server.login() passes the data of another. How to set up pass-through authorization? So that the python script takes user data from AD and sends it to the mail server.
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