laravel-mail-template
laravel-mail-template copied to clipboard
[Feature] Return mail `message_id`
I think a great feature of this package would be to allow the underlying mailable to return the message_id
I recall you can do something like this
$this->withSwiftMessage(function ($message) {
/// $message->getId() available here.
});
I think it would be great if you're tracking opens/clicks from these services and their web hooks.
I personally do this with mailgun and would love to be able to do that.
Hi @ninjaparade,
I don't unterstand exactly what you want to mean but I can tell you that the send
method always return the response from the driver you use.
For tracking opens/clicks, It can be done easily by extending the driver interface and/or implementing the method on the driver you want. So if you need it quickly feel free to contribute otherwise I or @martinpotel will take care of this soon or later !
Thanks for the feedback btw !
Regards