Join us on Facebook!
01
Jan

Using WordPress With External SMTP Server

by admin 1499 views 0 Comments and 0 Rections
If you have a self-hosted WordPress blog and your blog is having problems sending emails then here is a solution, WordPress offers support to send email through external SMTP servers instead of local mailer. Here is a simple solution for it:

In /wp-includes/pluggable.php around line 377, change
$phpmailer->isMail();

to
$phpmailer->isSMTP();

Then, in /wp-includes/class-phpmailer.php around line 155, set your SMTP host:
var $Host = "my.smtphost.com";

You may also need to set a username and password, and tell WP to attempt authentication. You'll see those in the lines below the hostname variable.
var $SMTPAuth = true;

var $Username = "username";

var $Password = "password";

On the other hand, you could do this via a plugin, perhaps even Callum McDonald's WP Mail SMTP.

I found this soloution here
More Posts in "Tutorials"

Comments

blog comments powered by Disqus

Feed Subscription

Get daily inboxed with latest news, reviews and tutorials. Signup now it's free :)



Planetmaks on Twitter

Follow PlanetMaks on Facebook

Recent Comments

Powered by Disqus

Tags

32Bit 64Bit 7 Admin Tool Admin Tools Admin-Tool Admin-Tools AdminTool Adobe Adware All-in-One Anti-Spyware Anti-Virus Apple Backup Tools Browser Browsers Changing Default Directory Codec Data Recovery Download Manager Downloads Drive Utilities Driver Drivers Firefox Flash Freeware Google Graphics Internet Tool Internet-Tool Messaging Microsoft Microsoft Tool Micsellonous Monitoring Multimedia Networking News NVidia Office Tool Office-Tool PC Suite Press Release Registry Samsung Security Shareware Software Softwares Tutorials Vista Windows Windows 7 Windows 8