Support » Plugin: Mailgun for WordPress » Latest Update

  • Issue after the last update,

    It appears this line has started causing a 500 error on form submissions on a website where I updated this plugin.

    $phpmailer->SMTPSecure = (bool) $secure ? 'tls' : 'none';

    $phpmailer->SMTPSecure = (bool) $secure ? 'ssl' : 'none';

    Could someone let me know if it’s possible to update to the latest version but keep the ssl auto type?


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


    Hi Sam,

    Please downgrade to and I will try to get another fix out soon.

    Alternatively, you can remain on and replace the 'tls' on that line with 'ssl' and it should work fine.

    In many cases though, TLS is preferred and should be usable on many systems — do you mind sharing some information about your hosting set up with me?

    [ Signature deleted ]

    • This reply was modified 1 year, 3 months ago by  Mailgun.
    • This reply was modified 4 months ago by  Jan Dembowski.

    PHP: 7.0.23 – Fast CGI served by Apache

    Don’t really have much in the way of other details, could you let me know if you need to know anything specifically and I can try and find that out for you.

    It’s running on a Plesk based server and the account I have access to doesn’t seem to give much in the way of server specific information.

    Plugin Author Mailgun


    Hey Sam,

    I’ve added an option to the admin page that should let you set the SMTP security type. I have not released it yet, but could you please test out this beta and let me know if it fixes your issue?

    [ Signature deleted ]

    Testing this update today should know very soon if there are any issues. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Latest Update’ is closed to new replies.