Send Email From Specific Outlook Account Via Python?
问题 I had some code that was written to email lab users whenever certain processes had finished running. This was sent from a gmail account, using SMTP. However, my supervisor wants the mail to be sent from an official department address, which means that I have use Outlook and MAPI. I've had an account created which I want the email to originate from regardless of the lab machine the job is being run on. The problem is that I can only get email to send from the local Outlook account, and not all