{"repo":"maize-tech/laravel-msgraph-mailer","free":true,"listed":false,"github":"https://github.com/maize-tech/laravel-msgraph-mailer","clone":"git clone https://github.com/maize-tech/laravel-msgraph-mailer.git","description":"A Laravel mail transport driver for sending emails via Microsoft Graph API using OAuth2 authentication.","language":"PHP","stars":10,"topics":["azure","email","laravel","mail","mailer","microsoft-graph","oauth2","office-365","transport"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Laravel Microsoft Graph Mailer A Laravel mail transport driver for sending emails via Microsoft Graph API using OAuth2 authentication. This package provides a custom Symfony Mailer transport that integrates seamlessly with Laravel's mail system, allowing you to send emails through Microsoft 365 (formerly Office 365) using the Microsoft Graph API with application permissions (client credentials flow). Installation You can install the package via composer: Configuration Add the Microsoft Graph mailer configuration to your config/mail.php file: Add the required environment variables to your .env file: Usage Once configured, you can use Laravel's Mail facade as usual. The package will automatically handle OAuth2 authentication and send emails via Microsoft Graph API. Basic Email Using Mailables HTML Emails with Attachments Token Caching Issues Access tokens are cached for 55 minutes by default. If you need to clear the cache: Features - OAuth2 Authentication : Uses client credentials flow for secure authentication - Automatic Token Caching : Access tokens are cached for 55 minutes - Retry Logic : Automatic retry on transient failures with attempts and delays - Full Email Support : - HTML and plain text emails - File attachments (including inline images) - Multiple recipients (To, CC, BCC) - Reply-To headers - Laravel Integration : Works seamlessly with Laravel's Mail facade, Mailables, and Notifications Testing Changelog Please see CHANGELOG for more information on what has chang","default_branch":null,"files":null,"tree":[],"storefront":"/r/maize-tech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maize-tech/laravel-msgraph-mailer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}