WordPress HGK SMTP Plugin September 9th, 2009
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
- Download
hgk-smtp.zip. - Uncompress.
- Upload
hgk-smtpto your/wp-content/plugins/directory. - 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
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/
11 Responses
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
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 [...]
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.
DennisVega Says:
Hey, great blog…but I don’t understand how to add your site in my rss reader. Can you Help me, please
iHagaki Team Says:
Copy RSS link(s) from the footer of this page and paste it to your rss reader. That should do it.
Tnelson Says:
what a great site and informative posts, I will add a backlink and bookmark your site. Keep up the good work!
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?
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
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!

