SMTP Settings Won’t Stay

If you are using the WordPress plugin named SMTP to configure your SMTP settings, and you are having problems with customizing the from email address and name that’s a known issue. The SMTP WordPress plugin uses the first name and email address in your WordPress database by default when sending email. You’ll need to edit two lines in the SMTP plugin to fix this. It’s an easy fix.

First go into your WordPress admin screen. Under Plugins select Editor.

From the dropdown on the right select SMTP and click the “Select” button.

Scroll down in the large text area and find the following two lines:

$phpmailer->From = $admin_info->user_email;
$phpmailer->FromName = $admin_info->display_name;

Simply put a pound sign (#) in front of those two lines.

#$phpmailer->From = $admin_info->user_email;
#$phpmailer->FromName = $admin_info->display_name;

Then click the update file button at the bottom. Emails should now be sent out using the username and email address that you specify in the configuration.


Globally Recognized Expertise

As Microsoft MVP’s and Partners as well as VMware experts, we are summoned by companies all over the world to fine-tune and problem-solve the most difficult architecture, infrastructure and network challenges.

And sometimes we’re asked to share what we did, at events like Microsoft’s PASS Summit 2015.

Awards & Certifications

Microsoft Partner   Denny Cherry & Associates Consulting LLC BBB Business Review    Microsoft MVP    Microsoft Certified Master VMWare vExpert
INC 5000 Award for 2020    American Business Awards People's Choice    American Business Awards Gold Award    American Business Awards Silver Award    FT Americas’ Fastest Growing Companies 2020   
Best Full-Service Cloud Technology Consulting Company       Insights Sccess Award    Technology Headlines Award    Golden Bridge Gold Award    CIO Review Top 20 Azure Solutions Providers
Share via
Copy link