K
K
Konstantin Gorodetsky2015-10-22 08:51:56
Python
Konstantin Gorodetsky, 2015-10-22 08:51:56

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 question

Ask a Question

731 491 924 answers to any question