OUTLOOK update MFA #1150
Replies: 5 comments 7 replies
-
You probably need to update your credentials setup to use OAuth or whatever your server accepts now. Additionally, here are some suggestions you could try if autodiscover still fails with OAuth: #1146 (comment) |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your reply, how can i get it 'MY_ID''MY_SECRET','TENANT_ID' |
Beta Was this translation helpful? Give feedback.
-
Keep making error |
Beta Was this translation helpful? Give feedback.
-
def Email(to,cc_mail,subject, body, attachmentspath=None):
creds = Credentials(
username='xxxxx@xxxxxxcom', # 账号
password='xxxxxxxxxxx' # 密码
)
account = Account(
primary_smtp_address='*******@*********.com',
credentials=creds,
autodiscover=True,
access_type=DELEGATE
)
m = Message(
account=account,
cc_recipients=cc_mail,
subject=subject,
body=HTMLBody(body),
to_recipients=[Mailbox(email_address=to)]
)
im successful!!!!!!!!!!!
thx!!!love u |
Beta Was this translation helpful? Give feedback.
-
Hi Erik,
Our company updated the new authentication method, which caused my program error
``
raise AutoDiscoverFailed(
exchangelib.errors.AutoDiscoverFailed: All steps in the autodiscover protocol failed for email xxx@xxxx.com. If you think
this is an error, consider doing an official test at https://testconnectivity.microsoft.com
What should I do?
thx!!!!!
Beta Was this translation helpful? Give feedback.
All reactions