InnoGE / laravel-msgraph-mail

Laravel Mail driver for Microsoft Office 365 using the MSGraph API
MIT License
26 stars 7 forks source link

[Bug]: How do we use this? #3

Closed maharzan closed 1 year ago

maharzan commented 1 year ago

What happened?

THis is not a bug but I cannot ask anywhere.. I am looking to implement this on laravel and I did not see any example of how to implement this, esp on the laravel side (controller). If you can help in any way, please let me know. Thanks a lot. I just need a sample of Sending a basic email.

How to reproduce the bug

Not a bug..

Package Version

2.0

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

No response

Notes

No response

geisi commented 1 year ago

I have written a blog post on how you can do it: https://geisi.dev/blog/getting-rid-of-deprecated-microsoft-office-365-smtp-mail-sending/

In general, this package acts as a standard Laravel Mail driver. You can check the Laravel Docs how to send mails after installing the ms graph driver.