Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 542 Bytes

File metadata and controls

17 lines (12 loc) · 542 Bytes

Outlook Authentication and Forwarding Script

This Python script provides functionality to authenticate with Microsoft Outlook using username and password, retrieve access tokens, and create mail forwarding rules via the Microsoft Graph API.

Features

  • Authenticate with Microsoft using username and password.
  • Retrieve refresh and access tokens.
  • Create mail forwarding rules based on specific conditions.

Prerequisites

  • Python 3.7 or higher.
  • The requests library. Install it using:
    pip install requests