Email From Field Overridden by WP Mail SMTP plugin

By: Chris Titus | Asked: 04/07/2023
ForumsCategory: General questionsEmail From Field Overridden by WP Mail SMTP plugin
Chris Titus asked 2 years ago
I'm trying to insert employee name and email address fields into the From input for an email that my form generates.  I'm using WP Mail SMTP to send emails through my hosting provider.  It seems to be overriding Formidable and all emails are originating from [email protected].  Is there a way to stop that?
Chris Titus replied 2 years ago

The reason I added WP Mail SMTP is to change the User Registration and Account Activation emails. Is there any PHP code for changing the name and email for just those two emails that I could put in my functions.php file? Any help would be greatly appreciated.

Victor Font replied 2 years ago

Shouldn't this be a question for WP Mail SMTP support?

Chris Titus replied 2 years ago

<p>Sorry, I was not clear. I want to remove WP Mail SMTP and just add some code to change the name and email for specific system generated emails instead of having a plugin.</p>

Rob LeVineRob LeVine replied 2 years ago

I was going to suggest that as well, however, Chris is looking for something on a per-email basis, which is something I've not done.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right