-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi everyone,
I'm having trouble automatically sending emails via my Outlook email address using Python. My organisation has MFA enabled, and I do not believe I can turn it off. The code I use is below:
outlook.username = username
outlook.password = password
print("sending email")
outlook.send(
receivers=["[email protected]"], #NOTE: not email address I'm using, I'm using one that is legitimate
subject="An example",
text="Hi, this is an example."
)
print("email sent")
Expected behavior
I'm expecting to see the printed emails
sending email
email sent
Email provider:
- Email service: Outlook
- Application to view the email (unsure)
Environment (please complete the following information if relevant):
- OS: MacOSX
- Python version 3.11.5
- Red Mail version 0.6.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working