Dynamic FROM email address | WordPress.org

[ad_1]

I am currently trying to integrate the Post SMTP plugin for a service I manage which is connected to Mailgun email service. The purpose of our integration is to catch the emails as they are sent TO our mailgun domain (via Mailgun SMTP). We are using the incoming emails to track information, but to do so we use the FROM email address to tie the information to a user. I see the Sendinblue integration allows for this logic, but Mailgun does not.

Am I incorrect about this? Within the code if I modify the $senderEmail for Mailgun to match the same as Sendinblue then it functions as I expect. The settings on the Message tab are “Prevent plugins and themes from changing this” are not checked so I should technically be able to overwrite these values.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer