beyondcode / laravel-mailbox

Catch incoming emails in your Laravel application
https://beyondco.de/docs/laravel-mailbox/getting-started/introduction
MIT License
1.04k stars 127 forks source link

Added mailbox support for 'X-Forwarded-To' address #124

Closed maximehinnekens closed 8 months ago

maximehinnekens commented 8 months ago

Added support for using the X-Forwarded-To header in the mailbox facade and the model. This header becomes very useful when using filters in inboxes from Gmail, Outlook etc. that forwards emails. When emails are forwarded this way, the 'to' array does not contain the email address of where the email was forwarded to, the X-Forwarded-Headers does.