How are you doing? Have you been able to solve the issue?
Microsoft office 365 Graph Api integration
So far i was trying to integrate office 365 Graph Api into my laravel app. My main goal is to use it for sending emails to customers. I was able to gain access on azure panel and grant all permissions. I am using this package https://dcblog.dev/docs/laravel-microsoft-graph/introduction So far i was able to send email but only on one specific route for example ( Route::get('/connect',[HomeController::class, 'connect']); )
But other than i am trying to dispatch a job like this:
MsGraph::emails()->to([$this->email])->subject('License Confirmation')->send(new ConfirmationMail($this->details));
But error i got is : Bearer HTTP/1.0 302 Found Cache-Control: no-cache, private...
Main reason why i want to try this graph api is that my office365 smpt is a hell of a mess. Sometimes it delivers email without any problem but sometimes email never reach mailbox.. without any error output. Even failed jobs table is empty..
Can somebody help me?
Please or to participate in this conversation.