Skip to content

This is a test tool for SMTP XOAUTH2 email workflow. This is using the device code flow of OAuth2 for limited input devices and the authorization code grant. This will test if Microsoft side did some breakage so that they can fix issues immediately.

License

Notifications You must be signed in to change notification settings

LorenzoLeonardo/microsoft-smtp-xoauth2-test-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microsoft-smtp-xoauth2-test-tool

This is a test tool for SMTP XOAUTH2 email workflow. This is using the device code flow of OAuth2 for limited input devices and the authorization code grant. This will test if Microsoft side did some breakage so that they can fix issues immediately.

How to use this tool

cargo run <access token grant type> <client id> <client secret> <recipient email> <recipient name> <debug log level>

Notes:

The <access token grant type> can be of the following:

  • AuthorizationCodeGrant
  • DeviceCodeFlow

The <client secret> can be of the following:

  • None (If there is no client secret)
  • Client Secret string (If there is a client secret)

The <debug log level> can be of the following:

  • error
  • warn
  • info
  • debug
  • trace

Just look in the logs for the login link.

About

This is a test tool for SMTP XOAUTH2 email workflow. This is using the device code flow of OAuth2 for limited input devices and the authorization code grant. This will test if Microsoft side did some breakage so that they can fix issues immediately.

Resources

License

Stars

Watchers

Forks

Languages