I’m trying to implement a feature in my Laravel project where emails sent from a specific address, let’s say “[email protected],” are marked with a “via” tag indicating they were sent via a particular server, for instance, “example-server.com”. Essentially, the email header should reflect that the email was sent from “[email protected]” via “example-server.com”.
I’ve attempted to achieve this by modifying the configuration in Laravel for SMTP, but haven’t had success. Could someone provide guidance or a solution on how to accomplish this in Laravel? Any insights or code examples would be greatly appreciated. Thanks in advance!
Salekur Rahaman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.