Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Blindacme's avatar

Email into Controller/Model

I have no idea where to begin with this or what to search for but what I'm looking to do is provide our users a way to email into one of our controllers/models.

You know how some CRM's have the ability to BCC a unique email address and when that happens it creates a note or record or something in the CRM? That's essentially what I'm trying to do but I don't know what term to use to research it or if any packages exist for this.

Any direction would be appreciated.

0 likes
4 replies
sr57's avatar

provide our users a way to email into one of our controllers/models

Laravel will send the mail you create (with your rules) by your controller for a user.

https://laravel.com/docs/8.x/mail#introduction

Steps suggested to uderstand :

-1 follow laravel example to to send a first mail

-2 create a UI for a test user to send a test mail

-3 define what you want to do and code it

NB : sending mail and make them arriving have many 'difficulties' and using a dedicated provider is probably needed.

tykus's avatar

I'm looking to do is provide our users a way to email into one of our controllers

I believe you missed the point of the OP @sr57

Please or to participate in this conversation.