Support » Plugin: WP SMTP Config » [Plugin: WP SMTP Config] Bug in SMTP Port Change

  • There is a bug in the plugin when attempting to change the port used for sending email. Currently, line 18 reads as follows:

    if (defined('WP_SMTP_PORT') && is_int(WP_SMTP_USER)) {

    It needs to be changed to read as follows:

    if (defined('WP_SMTP_PORT') && is_int(WP_SMTP_PORT)) {

    I can submit an SVN patch if you’d like, but I believe this should be sufficient to fix the problem.

    http://wordpress.org/extend/plugins/wp-smtp-config/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for the bug, but the plugin does not work for me.

    I try to send emails over my Google account but it is not possible. Any ideas for me?

    If you’re trying to configure it to send through GMail, you probably need to do something like the following. It works for me:

    define('WP_SMTP_HOST', 'smtp.gmail.com');
    define('WP_SMTP_PORT', 587);                   // obligatory - default: 25
    define('WP_SMTP_ENCRYPTION', 'tls');                // obligatory: 'tls' or 'ssl' - default: no encryption
    define('WP_SMTP_USER', 'YOUR_EMAIL_ADDRESS_HERE');           // obligatory - default: no user
    define('WP_SMTP_PASSWORD', 'YOUR_EMAIL_PASSWORD_HERE');           // obligatory - default: no password

    That along with the code change I outlined above should be sufficient to send email via Google. It works for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP SMTP Config] Bug in SMTP Port Change’ is closed to new replies.