Support » Plugin: Postman SMTP Mailer/Email Log » Sending test email hangs

  • Resolved Michael Josephson

    (@michael-josephson)


    Hi,

    I’m trying to get the plugin setup. Everything looks fine, but it hangs when sending an email (test or otherwise). Any other way I can troubleshoot this?

    Diagnostic output:

    PHP Version: 5.6.6
    PHP SSL Extension: Yes
    PHP spl_autoload_register support: Yes
    PHP getmxrr support: Yes
    PHP ArrayObject support: Yes
    PHP error: (display_errors|errorReporting): |4983
    WordPress Version: 4.1.1
    WordPress Debug (WP_DEBUG|WP_DEBUG_LOG|WP_DEBUG_DISPLAY): ||1
    WordPress Active Plugins
    Postman Version: 1.5.4
    Postman Sender: admin@studiobstyle.com
    Postman Transport URI: smtp:ssl:oauth2://567359440952-pjlb8qc7t6qjoetfa3pl251j0gjtr1jl.apps.googleusercontent.com:************************@smtp.gmail.com:465
    Postman Transport Status (configured|ready|connected): Yes|Yes|Yes
    Postman Deliveries (Success|Fail): 0|0
    Postman Bind (success|failure): Yes|No
    Postman Available Transports : SMTP (1.5.4)
    Postman LogLevel: 40000
    Postman TCP Timeout (Connection|Read): 10|60
    HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36

    https://wordpress.org/plugins/postman-smtp/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    Hi there. Sorry you’re having an issue getting it working.

    Hangs! Can we get a screenshot of this hang?
    Do you really have no active plugins or did you remove them all?

    The other way to troubleshoot is to enable the WordPress debug log and enable logging in Postman’s advanced settings and see what the log says.

    Not that this should cause a hang, but studiobstyle.com does not appear to be a gmail address (registered to Linode?). You won’t be able to send with that sender email using OAuth2.

    It wouldn’t be an exciting screenshot. When you try a test email, it never progresses beyond the “Sending email…” part. No timeout, just simply nothing.

    I am in the process of changing domain name servers and the underlying IP addresses of the domain, so this could be part of the problem. Here’s the result of my host studiobstyle.com

    [michael@chaumet studiobstyle.com]$ host studiobstyle.com
    studiobstyle.com has address 104.237.151.59
    studiobstyle.com mail is handled by 5 alt4.aspmx.l.google.com.
    studiobstyle.com mail is handled by 4 alt3.aspmx.l.google.com.
    studiobstyle.com mail is handled by 1 aspmx.l.google.com.
    studiobstyle.com mail is handled by 3 alt2.aspmx.l.google.com.
    studiobstyle.com mail is handled by 2 alt1.aspmx.l.google.com.

    It’s a brand new WP install. Multisite. A few plugins are installed, yes, but I’m not sure why your diagnostic tool is not picking them up.

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Ah, multisite.. incidentally, you might be able to participate constructively on this thread, Michael.

    My mistake, I spelt your domain wrong. I do see your MX hosts now, thank-you. But again, no, that should not cause the plugin to hang.

    I did test a couple months ago in WPMU but I have not recently. I will do that again now to see if I can reproduce your issue.

    The only other thing I can think of is it might be an incompatibility with Chrome, as I’ve never tested with that browser, that is preventing the Javascript/Ajax from firing off the test email. However that would not explain your inability to send a message from anywhere else. Speaking of, where else have you tried to send a message from? Contact Form 7 perhaps?

    Finally, I assume this is a sub-site that you are trying to configure the plugin for? Not the network site?

    After turning on the WP debugging, the test message changed to “Sending the message: failed”

    But nothing in the status message, or the session transcript.

    The debug log has this:

    [10-Mar-2015 22:51:39 UTC] PHP Fatal error:  Call to undefined function iconv_strlen() in /srv/http/studiobstyle.com/htdocs/wp-content/plugins/postman-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php on line 1495
    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Yes, that would definitely cause a hang! 😉

    Update: Michael, what platform are you running your website on? Seems your PHP has been compiled without the “php-iconv” module…

    http://omeka.org/forums/topic/fatal-error

    http://www.dlestarter.com/forum/showtopic/725-fatal-error-call-to-undefined-function-iconv_strlen

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    I’m afraid there’s not much to be done, other than ask your host to enable this module 🙁 This library is a firm requirement. Perhaps if you downgrade to PHP 5.4? or 5.3? the module might be there.

    Thanks for the help. That did the trick. It’s a server I have running on a Linode, so it was simply a matter of enabling the iconv extension in php.ini:

    extension=iconv.so

    You might want to update the documentation to list the required PHP modules.

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    I will.. I didn’t even know iconv was non-mandatory. I will add it to the checks in the Tips + Diagnostics as well, with the other required functions.

    I’m glad you got it sorted out!! Don’t forget to disable debug mode.

    Now I would love to get some input on multisite functionality, if you would be so kind as to comment on https://wordpress.org/support/topic/does-this-work-for-a-multisite

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sending test email hangs’ is closed to new replies.