Although I haven't tested it yet, I have bookmarked this link:
http://laravel.io/forum/05-25-2015-get-message-id-when-sending-email-via-mandrill-driver?page=1
So I hope this solves the problem!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Does anyone know if it's possible to retrieve the Mandrill message ID when sending email using Laravel's Mail::queue?
I have a working system that sends mail through Mandrill and receives webhooks back from Mandrill but I'd like to know which message each webhook event relates to. At the moment I've added a unique header tag to each message so I can identify which message the webhook events relate to but ideally I'd just like to be able to store the Mandrill message ID when the messages are processed by the Laravel queue.
I'm not sure if this is possible though using the standard Laravel mail driver for Mandrill?
Thanks.
Please or to participate in this conversation.