Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 816 Bytes

File metadata and controls

27 lines (18 loc) · 816 Bytes

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.