Skip to content

Override Mandrill Messages #9

@a-samad

Description

@a-samad

I want to save email content and its data in DB after send.
As Mandrill is shutting down its services on 11th Jan 2020 and we are using its API via this Library, Therefore we have to save all email data in DB and it will be reprocessed after there service comes back to normal state.

We need to override this function sendTemplate of class Mandrill_Messages to get data saved in DB, This will be the shortest hack that we can do as we are calling Via the Facade.
MandrillMail::messages()->sendTemplate("cng-forgot-password", $content, $message);

What will be the correct way to do this in Laravel 5.2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions