modern email authentication
Moderators: Dorian (MJT support), JRL
modern email authentication
Hello,
My apologies if this is addressed elsewhere in the forum, I did a brief search and did not find it.
Are there plans to add or have you added "modern email authentication", since basic auth is deprecated and will no longer be supported in Microsoft Exchange, and by extension Office 365?
Thank you,
Bob
My apologies if this is addressed elsewhere in the forum, I did a brief search and did not find it.
Are there plans to add or have you added "modern email authentication", since basic auth is deprecated and will no longer be supported in Microsoft Exchange, and by extension Office 365?
Thank you,
Bob
- Dorian (MJT support)
- Automation Wizard
- Posts: 1380
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: modern email authentication
Hi Bob,
I think this is what you're referring to. You will need to create an App Password:
https://docs.microsoft.com/en-gb/azure/ ... -passwords
https://support.google.com/accounts/answer/185833?hl=en
So instead of using your usual credentials on the smtp auth you would use an app password created for the purpose as explained in the links above.
I think this is what you're referring to. You will need to create an App Password:
https://docs.microsoft.com/en-gb/azure/ ... -passwords
https://support.google.com/accounts/answer/185833?hl=en
So instead of using your usual credentials on the smtp auth you would use an app password created for the purpose as explained in the links above.
Yes, we have a Custom Scripting Service. Message me or go here
Re: modern email authentication
Hi,
Actually OAUTH 2.0. The requirements I see are...
URL
Client ID
Scope
Client Secret
I have one other post regarding OAUTH from last April. I found a work around for that one, it was for a web app, not email.
Since email is moving this way "soon" I was wondering if an update mail client or built in handling of OAUTH for email might be in the works.
Bob
Actually OAUTH 2.0. The requirements I see are...
URL
Client ID
Scope
Client Secret
I have one other post regarding OAUTH from last April. I found a work around for that one, it was for a web app, not email.
Since email is moving this way "soon" I was wondering if an update mail client or built in handling of OAUTH for email might be in the works.
Bob
- Dorian (MJT support)
- Automation Wizard
- Posts: 1380
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: modern email authentication
I asked Marcus for clarification.
Macro Scheduler does not support oAuth. To send emails from Macro Scheduler you'd need to use a service that lets you provide a username/password or equivalent
Macro Scheduler does not support oAuth. To send emails from Macro Scheduler you'd need to use a service that lets you provide a username/password or equivalent
Yes, we have a Custom Scripting Service. Message me or go here
Re: modern email authentication
Not sure what exactly is needed, but maybe you can run vbs scripts from MS using these:
https://www.example-code.com/vbscript/ ... token.asp
https://www.example-code.com/vbscript/ ... token.asp
https://www.example-code.com/vbscript/ ... token.asp
https://www.example-code.com/vbscript/ ... token.asp
https://www.example-code.com/vbscript/ ... token.asp
https://www.example-code.com/vbscript/ ... token.asp
Re: modern email authentication
I will check 'em out, thank you!
-
- Newbie
- Posts: 2
- Joined: Tue Jun 25, 2024 2:04 pm
Re: modern email authentication
Any updates on this or ways to use oAuth with Macro Scheduler?
I'm trying to access a Microsoft365/Office365 mailbox via RetrievePOP3 and even an app password is no longer accepted.
I'm trying to access a Microsoft365/Office365 mailbox via RetrievePOP3 and even an app password is no longer accepted.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1380
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: modern email authentication
I just double-checked and app passwords are working with Outlook and RetrievePOP3.
App Passwords.
You'll also need to let Apps and Devices use POP
>Outlook.com > Mail >Sync Email >Let Devices and Apps use POP
This is the code I used :
App Passwords.
You'll also need to let Apps and Devices use POP
>Outlook.com > Mail >Sync Email >Let Devices and Apps use POP
This is the code I used :
Code: Select all
//Retrieve POP3
let>POP3_STATUS=1
let>popserver=outlook.office365.com
Let>POP3_PORT=995
Let>POP3_TIMEOUT=5
Let>POP3_SSL=1
Let>TLS_VER=12
RetrievePOP3>popserver,[email protected],MY_APP_PASSWORD,d:\emailfiles
MessageModal>POP3_RESULT
Separate>POP3_MSGFILES,;,MsgFiles
MessageModal>Files Downloaded: %MsgFiles_count%%CRLF%File List: %POP3_MSGFILES%
Yes, we have a Custom Scripting Service. Message me or go here
-
- Newbie
- Posts: 2
- Joined: Tue Jun 25, 2024 2:04 pm
Re: modern email authentication
When I run that code, I get "Logon failure: unknown user name or bad password." even after following the instructions to set up an app password.
Also, I tried setting up pop3 forwarding to a gmail account, and I'm getting a connection timed out error.
The outlook account is technically microsoft365 through godaddy, so I'm wondering if there's some underlying issue there.
Thanks for the response. I'll continue to investigate.
Also, I tried setting up pop3 forwarding to a gmail account, and I'm getting a connection timed out error.
The outlook account is technically microsoft365 through godaddy, so I'm wondering if there's some underlying issue there.
Thanks for the response. I'll continue to investigate.