Support » Plugin: SMTP King Pro » Problem with email and SSL

  • Hi Ash!

    I am also using your smtp king pro plugin, hehehe.

    I have to tell you that I have a problem with the email that I received. It seems that there is something wrong in headers. Here is a screenshot of what I receive: http://188.165.218.80/test2/smtp1.jpg

    And now, here is another email without your plugin: http://188.165.218.80/test2/smtp2.jpg

    By the way, if I switch on the smtp encryption to SSL I have this error message:
    Fatal error: Uncaught exception ‘Swift_TransportException’ with message ‘Connection could not be established with host ******* [ #0]’ in wordpress_test/wp-content/plugins/smtp-king-pro/packages/swiftmailer/classes/Swift/Transport/StreamBuffer.php:259 Stack trace: #0 /wordpress_test/wp-content/plugins/smtp-king-pro/packages/swiftmailer/classes/Swift/Transport/StreamBuffer.php(64): Swift_Transport_StreamBuffer->_establishSocketConnection() #1 wordpress_test/wp-content/plugins/smtp-king-pro/packages/swiftmailer/classes/Swift/Transport/AbstractSmtpTransport.php(115): Swift_Transport_StreamBuffer->initialize(Array) #2 /wordpress_test/wp-content/plugins/smtp-king-pro/packages/swiftmailer/classes/Swift/Mailer.php(80): Swift_Transport_AbstractSmtpTransport->start() #3 /wordpress_test/wp-content/plugins/smtp-king-pro/includes/class.mail.php(56): Swift_Mailer->send(Object(Swift_Message)) #4 / in /wordpress_test/wp-content/plugins/smtp-king-pro/packages/swiftmailer/classes/Swift/Transport/StreamBuffer.php on line 259

    https://wordpress.org/plugins/smtp-king-pro/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ash Durham

    (@ashdurham)

    Hi Prepu,

    Firstly, that error when you switch on SSL encryption just means that the host your attempting to use doesn’t support that type of connection. The plugin can only work with the information you give it. If the information is incorrect then it can’t function. Thats basically what its telling you: Fatal error: Uncaught exception ‘Swift_TransportException’ with message ‘Connection could not be established with host *******

    Regarding the email itself, how is the email code being generated to enable the send? Are you using another plugin to do this?

    Thread Starter prepu

    (@prepu)

    Hi again Ash,

    The problem with SSL encryption is strange because I have tried to send mails with SSL using Outlook and it works (I must confess that I received the warning message that my mail server cetificated is outdated but I accepted and it sends the mail). If I use the TLS option it doesn’t appear the error message but it doesn’t send the mail.

    About the other problem, I don’t know exactly how is the email coded. I only can tell you that is email that sends Woocommerce when I have new orders, proccessing orders and completed orders. I also use this plugin PDF Invoice & Packing Slips to send a pdf invoice with the email but it seems there is no problem with the pdf (I can send it without problems).

    If you need any other information don’t hesitate to ask me.

    Plugin Author Ash Durham

    (@ashdurham)

    Prepu,

    Its that warning message that it would be falling over on.

    Regarding the sending via woocommerce, I can’t guarantee what or how that is being sent. All SMTP King Pro is set to do it allow you to override the default wp_mail function that uses PHPmail to send the emails through the servers root email to send it via an actual account. Its out of this plugins control what is fed to it.

    I would have to do some testing with Woocommerce to determine the cause and see if its something I can rectify on my end without effecting the use of the plugin with anything else.

    I’ll let you know if I find anything.

    Thread Starter prepu

    (@prepu)

    Hi Ash,

    I have being thinking about the differents between emails that come from wordpress (for example a new user registration) and woocommerce. I remembered that woocommerce are sending the emails using the feature “email type: HTML”. That’s why tables and other attributes are misconfigured.

    I hope that can help you finding the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with email and SSL’ is closed to new replies.