WordPress HGK SMTP Plugin   September 9th, 2009

Also please visit the plugin’s page on wordpress.org

Contributors: ihagaki
Tags: gmail, mail, phpmailer, smtp, wp_mail
Requires at least: 2.8
Tested up to: 2.8.4
Stable tag: 1.1

Summary

This plugin reconfigures WordPress email to use secure SMTP such as Gmail. Plugin options are accessible through the admin panel.

Description

HGK SMTP plugin reconfigures wp_mail() function to use SMTP instead of mail(). Particularly, it allows sending outgoing mail via Gmail or Google Apps accounts.

The following options can be set from plugin’s admin panel:

  • SMTP server address.
  • SMTP server port.
  • SMTP username and password.
  • Whether or not SSL should be used.
  • From: email address and Sender’s name for outgoing mail.

Installation

  1. Download hgk-smtp.zip.
  2. Uncompress.
  3. Upload hgk-smtp to your /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.

Frequently Asked Questions

Can I use HGK SMTP plugin with Gmail or Google Apps?

Yes. In fact it was originally developed to work with Gmail.
The following options should get you going:

  • SMTP server address: smtp.gmail.com
  • Use SSL connection: yes (checked)
  • SMTP server port: 465
  • SMTP username: your Gmail / GoogleApps email address
  • SMTP password: your Gmail / GoogleApps password

This plugin does not seem to affect my WordPress blog mailing behavior?

Make sure that no mailing, SMTP or other plugins with similar functionality are active.

Still this plugin does not seem to affect my WordPress blog mailing behavior?

HGK SMTP plugin works by modifying behavior of wm_mail() function. Unfortinately, some plugins are known to call PHP’s mail() directly. If the case, you should be able to correct that by searching for instances of mail() and replacing them with wp_mail(). Since the parameters to the both functions are the same, this simple textual replacement works.

Screenshots

  1. Screenshot of HGK SMTP Options admin panel:

    Plugin Admin Panel

Changelog

v1.1 2009-09-14

  • enabling localization

v1.0 2009-09-09

  • initial release

Support

Please feel free to contact us by visiting support page and leaving your feedback:
http://www.ihagaki.com/wordpress/hgk-smtp-plugin/

Tags: , , ,
This entry was posted on Wednesday, September 9th, 2009 at 11:33 am and is filed under WordPress. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

11 Responses

September 10th, 2009 at 4:40 pm
Keir Says:

Hi there. I’m getting a php error after installing HGK SMTP:
PHP Warning: is_readable(): open_basedir restriction in effect. File(F:\inetpub\wwwrootWordPressTest/F:\inetpub\wwwrootWordPressTest\wp-content\plugins\hgk-smtp/hgksmtp-en_US.mo) is not within the allowed path(s): (F:\inetpub) in F:\inetpub\wwwrootWordPressTest\wp-includes\l10n.php on line 322

Any ideas? Help?
Thanks

September 10th, 2009 at 4:57 pm
Keir Says:

Solved – add to line after
Thankd for the plugin

September 11th, 2009 at 8:17 am
iHagaki Postcards - The easy way to stay in touch » Blog Archive … | WP Themes and Plugins Says:

[...] here to read the rest:  iHagaki Postcards – The easy way to stay in touch » Blog Archive … Most Related PostsWordpress not sending email to Comment subscribers, use WP Mail …How to Set [...]

September 28th, 2009 at 3:36 am
Kevin 9 9 Says:

Being quite elderly myself, I find technology frightening at times. Back in my day it was pencil and paper. What happened to the simple days when technology wasn’t so complicated? But then again, I can admit that technology has made much progress over the years.

September 28th, 2009 at 3:21 pm
Светлана Says:

Сохранили мне кучу времени! спс.

September 30th, 2009 at 9:44 am
DennisVega Says:

Hey, great blog…but I don’t understand how to add your site in my rss reader. Can you Help me, please :)

September 30th, 2009 at 2:55 pm
iHagaki Team Says:

Copy RSS link(s) from the footer of this page and paste it to your rss reader. That should do it.

September 30th, 2009 at 3:11 pm
Tnelson Says:

what a great site and informative posts, I will add a backlink and bookmark your site. Keep up the good work!

December 8th, 2009 at 8:37 am
POPOEVER Says:

So this is not sending mail via socket? Only a hack of mail() function? I’ve tried this plugin with my localhost which doesn’t have mail server installed, my gmail has received nothing. I’m looking for a solution based on socket so I can send mail from wordpress hosted on a windows server doesn’t have SMTP server installed, any clue?

December 8th, 2009 at 9:00 am
POPOEVER Says:

oh, sorry, I understand that my php_openssl module didn’t be enabled, it works perfect now, thanks!

I suggest you adding some error messages so that people could have chance to look into the problem, I looked into the php error log to nail the problem, it’s not so convenient :)

January 11th, 2010 at 11:03 am
jim Says:

I downloaded HGK to use with my wordpress blogs/websites. Since I own my web server using Apache, Php, MySql in Windows XP, I don’t have a mail server installed. So I needed a mail-smtp plug-in for workpress.

I tried several mail-smtp, but none of them would work with Gmail and the ones that worked using my ISP settings did not work with any Contact Forms.

I downloaded HKG and installed it in my test wordpress blog and it too didn’t work with Gmail. “Oh! not another one” Anyway, I thought I would see if HGK would work using my ISP settings with SSL checked. And again it did not work. So I unchecked the SSL and ran the save test again, This time it worked. I then tried sending an email through my Contact form and again it works.

Since I prefer to use my ISP settings anyway, I’m now a happy camper. I know this is a long reply, but I wanted your readers to know HKG works for me. Thank you!

Leave a Reply