Title: Latest Update
Last modified: September 7, 2017

---

# Latest Update

 *  [gsc89](https://wordpress.org/support/users/gsc89/)
 * (@gsc89)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/latest-update-38/)
 * 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.
 * New:
    `$phpmailer->SMTPSecure = (bool) $secure ? 'tls' : 'none';`
 * Old:
    `$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?
 * Thanks,
    Sam.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Mailgun](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/latest-update-38/#post-9476643)
 * Hi Sam,
 * Please downgrade to 1.5.8.4 and I will try to get another fix out soon.
 * Alternatively, you can remain on 1.5.8.5 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](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 11 months ago by [Mailgun](https://wordpress.org/support/users/mailgun/).
    -  This reply was modified 8 years ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [gsc89](https://wordpress.org/support/users/gsc89/)
 * (@gsc89)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/latest-update-38/#post-9479217)
 * 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](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/latest-update-38/#post-9494157)
 * 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](https://github.com/mailgun/wordpress-plugin/archive/6e64051af9ea172fe941ab3c97e353deb4d379ef.zip)
   and let me know if it fixes your issue?
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [gsc89](https://wordpress.org/support/users/gsc89/)
 * (@gsc89)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/latest-update-38/#post-9495749)
 * 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.

 * ![](https://ps.w.org/mailgun/assets/icon-256x256.png?rev=2434524)
 * [Mailgun for WordPress](https://wordpress.org/plugins/mailgun/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailgun/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailgun/)
 * [Active Topics](https://wordpress.org/support/plugin/mailgun/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailgun/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailgun/reviews/)

## Tags

 * [500 error](https://wordpress.org/support/topic-tag/500-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [gsc89](https://wordpress.org/support/users/gsc89/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/latest-update-38/#post-9495749)
 * Status: not resolved