WP Mail SMTP by WPForms - Version 1.3.0

Version Description

  • 2018-06-28 =
  • Added: New option: force From Email rewrite regardless of the current value.
  • Added: New option: force From Name rewrite regardless of the current value.
  • Added: New option: remove all plugin data on plugin uninstall (when user deletes it).
  • Added: Notify site admins in wp-admin area with a notice about last failed email delivery. Cleans up on successful delivery.
  • Added: Notify site admins in wp-admin area with a notice about possible compatibility issues with other SMTP and email delivery plugins.
  • Added: Improve User Debug Experience when doing Email Test - display helpful description and steps to fix the issue.
  • Added: New users: provide default SMTP Port value for new users based on Encryption selection.
  • Added: New users: notify about not configured plugin settings.
  • Added: New users: Recommend free WPForms Lite plugin for those who don't have it.
  • Added: SendGrid/Mailgun: provide support for multipart/alternative types of emails.
  • Added: Gmail: new button to remove connection and to connect a new Google account.
  • Fixed: Support plugin installation into /mu-plugins/ directory.
  • Fixed: SendGrid: required text/plain part of email being the first one - fixes plain text emails not having links.
  • Fixed: SendGrid and Mailgun: improperly sending plain text emails in html format.
  • Fixed: SMTP Debug output was empty in some cases.
  • Fixed: Compatibility with lots of other plugins that use Google Analytics library of different versions.
  • Fixed: "client_id is empty" is no more a problem, should be fixed.
  • Changed: For SendGrid and Mailgun allow using custom defined attachments names if present. Fallback to file name.
  • Changed: Gmail: switch to a wider scope to prevent possible issues in certain circumstances.
  • Changed: Remove whitespaces start/end of keys, secrets etc.
  • Changed: Improved helpful description tests of various options.
  • Changed: Improved plugin autoloading functionality.
Download this release

Release Info

Developer slaFFik
Plugin Icon 128x128 WP Mail SMTP by WPForms
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.2.5 to 1.3.0

Files changed (62) hide show
  1. assets/css/smtp-admin.min.css +3 -3
  2. assets/js/smtp-admin.js +42 -6
  3. assets/js/smtp-admin.min.js +1 -1
  4. languages/wp-mail-smtp.pot +374 -221
  5. readme.txt +29 -5
  6. src/Admin/Area.php +74 -0
  7. src/Admin/Pages/Misc.php +18 -2
  8. src/Admin/Pages/Settings.php +158 -22
  9. src/Admin/Pages/Test.php +647 -13
  10. src/Core.php +299 -16
  11. src/Debug.php +2 -2
  12. src/MailCatcher.php +13 -1
  13. src/Migration.php +14 -4
  14. src/Options.php +57 -3
  15. src/Processor.php +54 -8
  16. src/Providers/Gmail/Auth.php +16 -8
  17. src/Providers/Gmail/Mailer.php +11 -2
  18. src/Providers/Gmail/Options.php +96 -18
  19. src/Providers/MailerAbstract.php +20 -7
  20. src/Providers/Mailgun/Mailer.php +5 -4
  21. src/Providers/OptionsAbstract.php +16 -16
  22. src/Providers/Sendgrid/Mailer.php +4 -4
  23. src/TGMPA.php +3857 -0
  24. uninstall.php +58 -0
  25. vendor/autoload.php +1 -1
  26. vendor/composer/ClassLoader.php +2 -2
  27. vendor/composer/autoload_classmap.php +0 -228
  28. vendor/composer/autoload_files.php +0 -14
  29. vendor/composer/autoload_psr4.php +1 -0
  30. vendor/composer/autoload_real.php +18 -9
  31. vendor/composer/autoload_static.php +13 -247
  32. vendor/google/apiclient-services/src/Google/Service/Gmail/Label.php +16 -0
  33. vendor/google/apiclient-services/src/Google/Service/Gmail/LabelColor.php +39 -0
  34. vendor/google/apiclient/src/Google/AccessToken/Verify.php +4 -3
  35. vendor/google/apiclient/src/Google/Client.php +16 -6
  36. vendor/google/apiclient/src/Google/Service/Resource.php +7 -1
  37. vendor/google/auth/src/ApplicationDefaultCredentials.php +2 -2
  38. vendor/google/auth/src/Cache/Item.php +1 -1
  39. vendor/google/auth/src/Cache/SysVCacheItemPool.php +231 -0
  40. vendor/google/auth/src/Credentials/GCECredentials.php +2 -2
  41. vendor/google/auth/src/HttpHandler/Guzzle5HttpHandler.php +64 -4
  42. vendor/google/auth/src/HttpHandler/Guzzle6HttpHandler.php +13 -0
  43. vendor/guzzlehttp/guzzle/LICENSE +1 -1
  44. vendor/guzzlehttp/guzzle/src/Client.php +18 -10
  45. vendor/guzzlehttp/guzzle/src/ClientInterface.php +1 -1
  46. vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php +3 -3
  47. vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php +1 -1
  48. vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php +6 -7
  49. vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php +9 -0
  50. vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php +9 -3
  51. vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php +3 -1
  52. vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php +3 -4
  53. vendor/guzzlehttp/guzzle/src/HandlerStack.php +1 -1
  54. vendor/guzzlehttp/guzzle/src/MessageFormatter.php +0 -2
  55. vendor/guzzlehttp/guzzle/src/Middleware.php +6 -5
  56. vendor/guzzlehttp/guzzle/src/UriTemplate.php +0 -4
  57. vendor/guzzlehttp/guzzle/src/functions.php +4 -2
  58. vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php +20 -16
  59. vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php +4 -0
  60. vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php +22 -18
  61. wp-mail-smtp.php +1 -52
  62. wp_mail_smtp.php +3 -3
assets/css/smtp-admin.min.css CHANGED
@@ -1,3 +1,3 @@
1
- #wpcontent{padding-left:0 !important;position:relative}@media (max-width: 320px){#wpcontent{padding-top:46px}}@media (max-width: 320px){#wpbody{padding-top:0}}#wp-mail-smtp-header{background-color:#f1f3f7;border-top:3px solid #FF982D;padding:20px}#wp-mail-smtp-header img{display:block;margin:0;max-width:242px}@media (max-width: 768px){#wp-mail-smtp-header img{max-width:200px}}#wp-mail-smtp{margin:0}#wp-mail-smtp .wp-mail-smtp-page-title{background-color:#fff;font-size:14px;margin:0 0 20px 0;padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-title a{border-bottom:2px solid #fff;box-shadow:none;color:#666;display:inline-block;margin-right:30px;padding:20px 0 18px 0;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-title a.active{border-bottom:2px solid #FF982D}#wp-mail-smtp .wp-mail-smtp-page-title a:hover{border-color:#999}#wp-mail-smtp .wp-mail-smtp-page{padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page *,#wp-mail-smtp .wp-mail-smtp-page *::before,#wp-mail-smtp .wp-mail-smtp-page *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-clear:before{content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-clear:after{clear:both;content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row:first-of-type{padding-top:10px !important}@media (max-width: 767px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row{padding:20px 0}}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.inactive{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading{padding:20px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading.no-desc h2,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading.no-desc h4{margin:0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading .wp-mail-smtp-setting-field{margin:0;max-width:1000px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox .desc{margin:0 0 0 30px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-text .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-password .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-number .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-email .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-select .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field input[type=radio]{margin:-3px 10px 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field label{margin-right:30px;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label{vertical-align:middle;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label:hover .wp-mail-smtp-setting-toggle-switch{background-color:#999}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#83c11f}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch:before{-webkit-transform:translateX(19px);-ms-transform:translateX(19px);transform:translateX(19px)}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label{display:inline-block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label+.wp-mail-smtp-setting-toggle-unchecked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-unchecked-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{text-transform:uppercase;font-weight:700;font-size:13px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;vertical-align:middle;position:relative;display:inline-block;margin:0 5px 0 0;width:40px;height:20px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch:before{position:absolute;content:"";height:14px;width:14px;left:3px;top:3px;background-color:#fff;border-radius:50%;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer{padding-bottom:20px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer{display:inline-block;width:140px;margin-right:10px;margin-bottom:10px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image{background:#fff;text-align:center;border:2px solid #E5E5E5;border-radius:4px;height:76px;position:relative;margin-bottom:10px;cursor:pointer;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image img{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0.6;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image{border-color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image{border-color:#ccc}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row h2,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row p:first-of-type{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row p.desc{font-style:italic;color:#666}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]{background-color:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px}@media (max-width: 1023px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]{width:300px}}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text][readonly],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email][readonly],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number][readonly],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password][readonly]{background-color:#f9f9f9}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text].small-text,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email].small-text,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number].small-text,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password].small-text{width:75px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text]:focus,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email]:focus,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number]:focus,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]:focus{border-color:#bbb}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text]:disabled,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email]:disabled,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number]:disabled,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]:disabled{opacity:0.6}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-label{display:block;float:left;width:200px;padding:0}@media (max-width: 767px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-label{float:none;width:100%;padding-bottom:15px}}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-label label{display:block;font-weight:600}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-field{display:block;margin:0 0 0 200px;max-width:800px}@media (max-width: 767px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-field{margin:0}}#wp-mail-smtp .wp-mail-smtp-page p.wp-mail-smtp-submit{margin:0;padding:25px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option .wp-mail-smtp-setting-row.section-heading{padding:20px 0 !important}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option blockquote{background:#E5E5E5;border-radius:4px;color:#666;font-size:14px;margin:20px 0;padding:15px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn{border:0;border-radius:3px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;text-shadow:none;box-shadow:none;outline:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn .dashicons{font-size:16px;width:16px;height:16px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-block{display:block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-md{font-size:13px;font-weight:600;padding:8px 12px;min-height:35px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange{background-color:#FF982D;border-color:#FF982D;color:#fff}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange:focus{background-color:#f97f00;border-color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey{background-color:#eee;border-color:#ccc;color:#666}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey:focus{background-color:#d7d7d7;border-color:#ccc;color:#444}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey:focus{background-color:#eee;color:#444}#wp-mail-smtp .wp-mail-smtp-page p{margin:0}#wp-mail-smtp .wp-mail-smtp-page .notice p{margin:0.5em 0}#wp-mail-smtp .wp-mail-smtp-page pre{white-space:pre-line}#wp-mail-smtp .wp-mail-smtp-page.active{display:block}
2
-
3
- /*# sourceMappingURL=smtp-admin.min.css.map */
1
+ #wpcontent{padding-left:0 !important;position:relative}@media (max-width: 600px){#wpcontent{padding-top:46px}}@media (max-width: 600px){#wpbody{padding-top:0}}#wp-mail-smtp-header{background-color:#f1f3f7;border-top:3px solid #FF982D;padding:20px}#wp-mail-smtp-header img{display:block;margin:0;max-width:242px}@media (max-width: 782px){#wp-mail-smtp-header img{max-width:200px}}#wp-mail-smtp{margin:0}#wp-mail-smtp .wp-mail-smtp-page-title{background-color:#fff;font-size:14px;margin:0 0 20px 0;padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-title a{border-bottom:2px solid #fff;box-shadow:none;color:#666;display:inline-block;margin-right:30px;padding:20px 0 18px 0;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-title a.active{border-bottom:2px solid #FF982D}#wp-mail-smtp .wp-mail-smtp-page-title a:hover{border-color:#999}#wp-mail-smtp .wp-mail-smtp-page{padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page *,#wp-mail-smtp .wp-mail-smtp-page *::before,#wp-mail-smtp .wp-mail-smtp-page *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-clear:before{content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-clear:after{clear:both;content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row:first-of-type{padding-top:10px !important}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row{padding:20px 0}}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.inactive{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row .wp-mail-smtp-setting-mid-row-sep{margin:15px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading{padding:20px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading.no-desc h2,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading.no-desc h4{margin:0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.section-heading .wp-mail-smtp-setting-field{margin:0;max-width:1000px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox .desc{margin:0 0 0 30px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-text .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-password .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-number .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-email .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-select .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field input[type=radio]{margin:-3px 10px 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field label{margin-right:30px;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label{vertical-align:middle;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label:hover .wp-mail-smtp-setting-toggle-switch{background-color:#999}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#83c11f}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch:before{-webkit-transform:translateX(19px);-ms-transform:translateX(19px);transform:translateX(19px)}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label{display:inline-block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label+.wp-mail-smtp-setting-toggle-unchecked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-unchecked-label,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{text-transform:uppercase;font-weight:700;font-size:13px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;vertical-align:middle;position:relative;display:inline-block;margin:0 5px 0 0;width:40px;height:20px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch:before{position:absolute;content:"";height:14px;width:14px;left:3px;top:3px;background-color:#fff;border-radius:50%;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer{padding-bottom:20px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer{display:inline-block;width:140px;margin-right:10px;margin-bottom:10px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image{background:#fff;text-align:center;border:2px solid #E5E5E5;border-radius:4px;height:76px;position:relative;margin-bottom:10px;cursor:pointer;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image img{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0.6;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image{border-color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image{border-color:#ccc}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row h2,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row p:first-of-type{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row p.desc{font-style:italic;color:#666}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]{background-color:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px}@media (max-width: 959px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]{width:300px}}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text][readonly],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email][readonly],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number][readonly],#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password][readonly]{background-color:#f9f9f9}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text].small-text,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email].small-text,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number].small-text,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password].small-text{width:75px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text]:focus,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email]:focus,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number]:focus,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]:focus{border-color:#bbb}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=text]:disabled,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=email]:disabled,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=number]:disabled,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-row input[type=password]:disabled{opacity:0.6}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-label{display:block;float:left;width:200px;padding:0}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-label{float:none;width:100%;padding-bottom:15px}}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-label label{display:block;font-weight:600}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-field{display:block;margin:0 0 0 200px;max-width:800px}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-setting-field{margin:0}}#wp-mail-smtp .wp-mail-smtp-page p.wp-mail-smtp-submit{margin:0;padding:25px 0}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option .wp-mail-smtp-setting-row.section-heading{padding:20px 0 !important}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option blockquote{background:#E5E5E5;border-radius:4px;color:#666;font-size:14px;margin:20px 0;padding:15px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn{border:0;border-radius:3px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;text-shadow:none;box-shadow:none;outline:none}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn .dashicons{font-size:16px;width:16px;height:16px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-block{display:block}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-md{font-size:13px;font-weight:600;padding:8px 12px;min-height:35px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange{background-color:#FF982D;border-color:#FF982D;color:#fff}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-orange:focus{background-color:#f97f00;border-color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-red{background-color:red;border-color:red;color:#fff}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-red:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-red:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-red:focus{background-color:darkred;border-color:darkred}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey{background-color:#eee;border-color:#ccc;color:#666}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-grey:focus{background-color:#d7d7d7;border-color:#ccc;color:#444}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey:hover,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey:active,#wp-mail-smtp .wp-mail-smtp-page .wp-mail-smtp-btn-light-grey:focus{background-color:#eee;color:#444}#wp-mail-smtp .wp-mail-smtp-page p{margin:0}#wp-mail-smtp .wp-mail-smtp-page .notice-inline{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin:5px 0 15px;padding:1px 12px}#wp-mail-smtp .wp-mail-smtp-page .notice-inline.notice-success{border-left-color:#46b450}#wp-mail-smtp .wp-mail-smtp-page .notice-inline.notice-warning{border-left-color:#ffb900}#wp-mail-smtp .wp-mail-smtp-page .notice-inline.notice-error{border-left-color:#dc3232}#wp-mail-smtp .wp-mail-smtp-page .notice-inline.notice-info{border-left-color:#00a0d2}#wp-mail-smtp .wp-mail-smtp-page .notice p,#wp-mail-smtp .wp-mail-smtp-page .notice-inline p{margin:0.5em 0;padding:2px}#wp-mail-smtp .wp-mail-smtp-page pre{white-space:pre-line}#wp-mail-smtp .wp-mail-smtp-page.active{display:block}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug{background-color:#fff;padding:25px 20px 1px 25px}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug h2{color:#444;margin:1.4em 0 0.8em;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ul,#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ol{font-size:14px;color:#555;margin:0 0 1.1em 1.8em}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ul li,#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ol li{margin:0 0 8px 0;line-height:1.5}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ul li:last-of-type,#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ol li:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ul li ul,#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug ol li ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug a:hover{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .dashicons-star-filled{color:#FF982D;width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .error-log-toggle{text-decoration:none;color:#444}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .error-log-toggle:hover{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .error-log-toggle .dashicons{font-size:15px;height:15px;width:15px;padding-top:3px;border:0;outline:0}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .error-log{border-left:3px solid #ffb900;padding:0 0 0 20px;margin:0 0 10px 0;font-size:12px;display:none}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .error-log pre{margin:0}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-debug .error-log-note{display:none}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms{background-color:#fff;padding:25px 20px;border:1px solid #dadada;margin:10px 0 0 0;position:relative}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms .wp-mail-smtp-wpforms-dismiss{position:absolute;right:10px;top:10px}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms .wp-mail-smtp-wpforms-dismiss button{background:none;border:none;color:#a9a9a9;cursor:pointer;margin:0;padding:0}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms h2{color:#444;margin-top:0;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms p:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms .benefits{margin:0 0 16px 0;overflow:auto;max-width:900px}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms ul{margin:0;padding:0;width:50%;float:left}@media (max-width: 600px){#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms ul{width:100%;float:none}}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms ul li{margin:0;padding:0 0 2px 16px;color:#555;font-size:14px;position:relative}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms ul li:before{content:'+';position:absolute;top:-1px;left:0}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms a:hover,#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms a:active,#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms a:focus{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms .stars{text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page #wp-mail-smtp-wpforms .stars .dashicons{width:16px;height:16px;font-size:16px;vertical-align:text-top}
2
+
3
+ /*# sourceMappingURL=smtp-admin.min.css.map */
assets/js/smtp-admin.js CHANGED
@@ -22,22 +22,58 @@ jQuery( document ).ready( function ( $ ) {
22
$( '.wp-mail-smtp-setting-copy' ).click( function ( e ) {
23
e.preventDefault();
24
25
- var target = $( '#' + $( this ).data( 'source_id' ) ).get(0);
26
27
target.select();
28
29
document.execCommand( 'Copy' );
30
} );
31
32
- $( '#wp-mail-smtp-setting-smtp-auth' ).change( function() {
33
$( '#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass' ).toggleClass( 'inactive' );
34
- });
35
36
- $( '#wp-mail-smtp-setting-row-smtp-encryption input').change( function() {
37
- if ( 'tls' === $(this).val() ) {
38
- $(' #wp-mail-smtp-setting-row-smtp-autotls' ).addClass( 'inactive' );
39
} else {
40
$( '#wp-mail-smtp-setting-row-smtp-autotls' ).removeClass( 'inactive' );
41
}
42
} );
43
} );
22
$( '.wp-mail-smtp-setting-copy' ).click( function ( e ) {
23
e.preventDefault();
24
25
+ var target = $( '#' + $( this ).data( 'source_id' ) ).get( 0 );
26
27
target.select();
28
29
document.execCommand( 'Copy' );
30
} );
31
32
+ $( '#wp-mail-smtp-setting-smtp-auth' ).change( function () {
33
$( '#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass' ).toggleClass( 'inactive' );
34
+ } );
35
+
36
+ $( '#wp-mail-smtp-setting-row-smtp-encryption input' ).change( function () {
37
+
38
+ var $this = $( this ),
39
+ $smtpPort = $( '#' + 'wp-mail-smtp-setting-smtp-port' );
40
41
+ if ( 'tls' === $this.val() ) {
42
+ $smtpPort.val( '587' );
43
+ $( '#wp-mail-smtp-setting-row-smtp-autotls' ).addClass( 'inactive' );
44
+ } else if ( 'ssl' === $this.val() ) {
45
+ $smtpPort.val( '465' );
46
+ $( '#wp-mail-smtp-setting-row-smtp-autotls' ).removeClass( 'inactive' );
47
} else {
48
+ $smtpPort.val( '25' );
49
$( '#wp-mail-smtp-setting-row-smtp-autotls' ).removeClass( 'inactive' );
50
}
51
} );
52
+
53
+ $( '#wp-mail-smtp-wpforms-dismiss' ).on( 'click', function () {
54
+ $.ajax( {
55
+ url: ajaxurl,
56
+ dataType: 'json',
57
+ type: 'POST',
58
+ data: {
59
+ action: 'wp_mail_smtp_ajax',
60
+ task: 'wpforms_dismiss'
61
+ }
62
+ } )
63
+ .always( function () {
64
+ $( '#wp-mail-smtp-wpforms' ).fadeOut( 'fast' );
65
+ } );
66
+ } );
67
+
68
+ $( '#wp-mail-smtp-debug .error-log-toggle' ).on( 'click', function ( e ) {
69
+ e.preventDefault();
70
+
71
+ $( '#wp-mail-smtp-debug .error-log-toggle' ).find( '.dashicons' ).toggleClass( 'dashicons-arrow-right-alt2 dashicons-arrow-down-alt2' );
72
+ $( '#wp-mail-smtp-debug .error-log' ).slideToggle();
73
+ $( '#wp-mail-smtp-debug .error-log-note' ).toggle();
74
+ } );
75
+
76
+ $( '#wp-mail-smtp-gmail-remove' ).on( 'click', function () {
77
+ return confirm( window.wp_mail_smtp.text_gmail_remove );
78
+ } );
79
} );
assets/js/smtp-admin.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(t){t(".wp-mail-smtp-mailer input").click(function(){if(t(this).prop("disabled"))return!1;t(".wp-mail-smtp-mailer").removeClass("active"),t(this).parents(".wp-mail-smtp-mailer").addClass("active"),t(".wp-mail-smtp-mailer-option").addClass("hidden").removeClass("active"),t(".wp-mail-smtp-mailer-option-"+t(this).val()).addClass("active").removeClass("hidden")}),t(".wp-mail-smtp-mailer-image").click(function(){t(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),t(".wp-mail-smtp-setting-copy").click(function(i){i.preventDefault(),t("#"+t(this).data("source_id")).get(0).select(),document.execCommand("Copy")}),t("#wp-mail-smtp-setting-smtp-auth").change(function(){t("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),t("#wp-mail-smtp-setting-row-smtp-encryption input").change(function(){"tls"===t(this).val()?t(" #wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive"):t("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive")})});
1
+ jQuery(document).ready(function(a){a(".wp-mail-smtp-mailer input").click(function(){if(a(this).prop("disabled"))return!1;a(".wp-mail-smtp-mailer").removeClass("active"),a(this).parents(".wp-mail-smtp-mailer").addClass("active"),a(".wp-mail-smtp-mailer-option").addClass("hidden").removeClass("active"),a(".wp-mail-smtp-mailer-option-"+a(this).val()).addClass("active").removeClass("hidden")}),a(".wp-mail-smtp-mailer-image").click(function(){a(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),a(".wp-mail-smtp-setting-copy").click(function(t){t.preventDefault(),a("#"+a(this).data("source_id")).get(0).select(),document.execCommand("Copy")}),a("#wp-mail-smtp-setting-smtp-auth").change(function(){a("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),a("#wp-mail-smtp-setting-row-smtp-encryption input").change(function(){var t=a(this),i=a("#wp-mail-smtp-setting-smtp-port");"tls"===t.val()?(i.val("587"),a("#wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive")):("ssl"===t.val()?i.val("465"):i.val("25"),a("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive"))}),a("#wp-mail-smtp-wpforms-dismiss").on("click",function(){a.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"wpforms_dismiss"}}).always(function(){a("#wp-mail-smtp-wpforms").fadeOut("fast")})}),a("#wp-mail-smtp-debug .error-log-toggle").on("click",function(t){t.preventDefault(),a("#wp-mail-smtp-debug .error-log-toggle").find(".dashicons").toggleClass("dashicons-arrow-right-alt2 dashicons-arrow-down-alt2"),a("#wp-mail-smtp-debug .error-log").slideToggle(),a("#wp-mail-smtp-debug .error-log-note").toggle()}),a("#wp-mail-smtp-gmail-remove").on("click",function(){return confirm(window.wp_mail_smtp.text_gmail_remove)})});
languages/wp-mail-smtp.pot CHANGED
@@ -14,436 +14,455 @@ msgstr ""
14
"X-Poedit-SourceCharset: UTF-8\n"
15
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17
- #: wp_mail_smtp.php:251
18
- msgid "Test mail to %s"
19
msgstr ""
20
21
- #: wp_mail_smtp.php:252
22
- msgid "This is a test email generated by the WP Mail SMTP WordPress plugin."
23
msgstr ""
24
25
- #: wp_mail_smtp.php:268
26
- msgid "Test Message Sent"
27
msgstr ""
28
29
- #: wp_mail_smtp.php:269
30
- msgid "The result was:"
31
msgstr ""
32
33
- #: wp_mail_smtp.php:272
34
- msgid "The full debugging output is shown below:"
35
msgstr ""
36
37
- #: wp_mail_smtp.php:275
38
- msgid "The SMTP debugging output is shown below:"
39
msgstr ""
40
41
- #: wp_mail_smtp.php:242, wp_mail_smtp.php:616
42
- msgid "Send Test"
43
msgstr ""
44
45
- #: wp_mail_smtp.php:287, wp_mail_smtp.php:652
46
- msgid "WP Mail SMTP Settings"
47
msgstr ""
48
49
- #: wp_mail_smtp.php:296, src/Admin/Pages/Settings.php:58
50
- msgid "From Email"
51
msgstr ""
52
53
- #: wp_mail_smtp.php:303
54
- msgid "You can specify the email address that emails should be sent from. If you leave this blank, the default email will be used."
55
msgstr ""
56
57
- #: wp_mail_smtp.php:306
58
- msgid "<strong>Please Note:</strong> You appear to be using a version of WordPress prior to 2.3. Please ignore the From Name field and instead enter Name&lt;email@domain.com&gt; in this field."
59
msgstr ""
60
61
- #: wp_mail_smtp.php:315, src/Admin/Pages/Settings.php:85
62
- msgid "From Name"
63
msgstr ""
64
65
- #: wp_mail_smtp.php:321
66
- msgid "You can specify the name that emails should be sent from. If you leave this blank, the emails will be sent from WordPress."
67
msgstr ""
68
69
- #: wp_mail_smtp.php:330, wp_mail_smtp.php:335, src/Admin/Pages/Settings.php:109
70
- msgid "Mailer"
71
msgstr ""
72
73
- #: wp_mail_smtp.php:340
74
- msgid "Send all WordPress emails via SMTP."
75
msgstr ""
76
77
- #: wp_mail_smtp.php:344
78
- msgid "Use the PHP mail() function to send emails."
79
msgstr ""
80
81
- #: wp_mail_smtp.php:350
82
- msgid "Use Pepipost SMTP to send emails."
83
msgstr ""
84
85
- #: wp_mail_smtp.php:356
86
- msgid "Looking for high inbox delivery? Try Pepipost with easy setup and free emails. Learn more %1$shere%2$s."
87
msgstr ""
88
89
- #: wp_mail_smtp.php:371, wp_mail_smtp.php:376, src/Admin/Pages/Settings.php:142
90
- msgid "Return Path"
91
msgstr ""
92
93
- #: wp_mail_smtp.php:381, src/Admin/Pages/Settings.php:151
94
- msgid "Set the return-path to match the From Email"
95
msgstr ""
96
97
- #: wp_mail_smtp.php:385, src/Admin/Pages/Settings.php:154
98
- msgid "Return Path indicates where non-delivery receipts - or bounce messages - are to be sent."
99
msgstr ""
100
101
- #: wp_mail_smtp.php:395, wp_mail_smtp.php:400, src/Admin/Pages/Misc.php:55
102
- msgid "Hide Announcements"
103
msgstr ""
104
105
- #: wp_mail_smtp.php:405, src/Admin/Pages/Misc.php:62
106
- msgid "Check this if you would like to hide plugin announcements and update details."
107
msgstr ""
108
109
- #: wp_mail_smtp.php:413, wp_mail_smtp.php:513, wp_mail_smtp.php:589
110
- msgid "Save Changes"
111
msgstr ""
112
113
- #: wp_mail_smtp.php:418
114
- msgid "SMTP Options"
115
msgstr ""
116
117
- #: wp_mail_smtp.php:420
118
- msgid "These options only apply if you have chosen to send mail by SMTP above."
119
msgstr ""
120
121
- #: wp_mail_smtp.php:425, src/Providers/OptionsAbstract.php:126
122
- msgid "SMTP Host"
123
msgstr ""
124
125
- #: wp_mail_smtp.php:433, wp_mail_smtp.php:551, src/Providers/OptionsAbstract.php:140
126
- msgid "SMTP Port"
127
msgstr ""
128
129
- #: wp_mail_smtp.php:440, wp_mail_smtp.php:444, wp_mail_smtp.php:559, wp_mail_smtp.php:565, src/Providers/OptionsAbstract.php:154
130
- msgid "Encryption"
131
msgstr ""
132
133
- #: wp_mail_smtp.php:449, wp_mail_smtp.php:571
134
- msgid "No encryption."
135
msgstr ""
136
137
- #: wp_mail_smtp.php:454, wp_mail_smtp.php:576
138
- msgid "Use SSL encryption."
139
msgstr ""
140
141
- #: wp_mail_smtp.php:459, wp_mail_smtp.php:581
142
- msgid "Use TLS encryption."
143
msgstr ""
144
145
- #: wp_mail_smtp.php:462
146
- msgid "TLS is not the same as STARTTLS. For most servers SSL is the recommended option."
147
msgstr ""
148
149
- #: wp_mail_smtp.php:467, wp_mail_smtp.php:471, src/Providers/OptionsAbstract.php:216
150
- msgid "Authentication"
151
msgstr ""
152
153
- #: wp_mail_smtp.php:476
154
- msgid "No: Do not use SMTP authentication."
155
msgstr ""
156
157
- #: wp_mail_smtp.php:481
158
- msgid "Yes: Use SMTP authentication."
159
msgstr ""
160
161
- #: wp_mail_smtp.php:485
162
- msgid "If this is set to no, the values below are ignored."
163
msgstr ""
164
165
- #: wp_mail_smtp.php:492, wp_mail_smtp.php:535
166
- msgid "Username"
167
msgstr ""
168
169
- #: wp_mail_smtp.php:500, wp_mail_smtp.php:543
170
- msgid "Password"
171
msgstr ""
172
173
- #: wp_mail_smtp.php:506
174
- msgid "This is in plain text because it must not be stored encrypted."
175
msgstr ""
176
177
- #: wp_mail_smtp.php:520
178
- msgid "Pepipost SMTP Options"
179
msgstr ""
180
181
- #: wp_mail_smtp.php:526
182
- msgid "You need to signup on %s to get the SMTP username/password."
183
msgstr ""
184
185
- #: wp_mail_smtp.php:598, src/Admin/Pages/Test.php:49
186
- msgid "Send a Test Email"
187
msgstr ""
188
189
- #: wp_mail_smtp.php:606
190
- msgid "To"
191
msgstr ""
192
193
- #: wp_mail_smtp.php:610
194
- msgid "Type an email address here and then click Send Test to generate a test email."
195
msgstr ""
196
197
- #: wp_mail_smtp.php:652, src/Admin/Area.php:127
198
- msgid "WP Mail SMTP"
199
msgstr ""
200
201
- #: wp_mail_smtp.php:758, src/Admin/Area.php:370, src/Admin/Pages/Settings.php:26
202
- msgid "Settings"
203
msgstr ""
204
205
- #: src/Admin/Area.php:88
206
- msgid "There was an error while processing the authentication request: %s. Please try again."
207
msgstr ""
208
209
- #: src/Admin/Area.php:95
210
- msgid "There was an error while processing the authentication request. Please try again."
211
- msgstr ""
212
-
213
- #: src/Admin/Area.php:102
214
- msgid "There was an error while processing the authentication request. Please make sure that you have Client ID and Client Secret both valid and saved."
215
msgstr ""
216
217
- #: src/Admin/Area.php:111
218
- msgid "You have successfully linked the current site with your Google API project. Now you can start sending emails through Google."
219
msgstr ""
220
221
- #: src/Admin/Area.php:126
222
- msgid "WP Mail SMTP Options"
223
msgstr ""
224
225
- #: src/Admin/Area.php:199
226
- msgid "Please rate <strong>WP Mail SMTP</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\">WordPress.org</a> to help us spread the word. Thank you from the WP Mail SMTP team!"
227
msgstr ""
228
229
- #: src/Providers/OptionsAbstract.php:164
230
- msgid "None"
231
msgstr ""
232
233
- #: src/Providers/OptionsAbstract.php:173
234
- msgid "SSL"
235
msgstr ""
236
237
- #: src/Providers/OptionsAbstract.php:182
238
- msgid "TLS"
239
msgstr ""
240
241
- #: src/Providers/OptionsAbstract.php:186
242
- msgid "For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS."
243
msgstr ""
244
245
- #: src/Providers/OptionsAbstract.php:194
246
- msgid "Auto TLS"
247
msgstr ""
248
249
- #: src/Providers/OptionsAbstract.php:204, src/Providers/OptionsAbstract.php:226
250
- msgid "On"
251
msgstr ""
252
253
- #: src/Providers/OptionsAbstract.php:205, src/Providers/OptionsAbstract.php:227
254
- msgid "Off"
255
msgstr ""
256
257
- #: src/Providers/OptionsAbstract.php:208
258
- msgid "By default TLS encryption is automatically used if the server supports it, which is recommended. In some cases, due to server misconfigurations, this can cause issues and may need to be disabled."
259
- msgstr ""
260
261
- #: src/Providers/OptionsAbstract.php:235
262
- msgid "SMTP Username"
263
- msgstr ""
264
265
- #: src/Providers/OptionsAbstract.php:249
266
- msgid "SMTP Password"
267
- msgstr ""
268
269
- #: src/Providers/OptionsAbstract.php:263
270
- msgid "The password is stored in plain text. We highly recommend you setup your password in your WordPress configuration file for improved security; to do this add the lines below to your %s file."
271
msgstr ""
272
273
- #: src/Providers/OptionsAbstract.php:300
274
- msgid "%1$s requires PHP %2$s to work and does not support your current PHP version %3$s. Please contact your host and request a PHP upgrade to the latest one."
275
msgstr ""
276
277
- #: src/Providers/OptionsAbstract.php:307
278
- msgid "Meanwhile you can switch to the \"Other SMTP\" Mailer option."
279
msgstr ""
280
281
- #: src/Admin/Pages/Misc.php:24
282
- msgid "Misc"
283
msgstr ""
284
285
- #: src/Admin/Pages/Misc.php:48
286
- msgid "General"
287
msgstr ""
288
289
- #: src/Admin/Pages/Misc.php:67, src/Admin/Pages/Settings.php:185
290
- msgid "Save Settings"
291
msgstr ""
292
293
- #: src/Admin/Pages/Misc.php:95, src/Admin/Pages/Settings.php:251
294
- msgid "Settings were successfully saved."
295
msgstr ""
296
297
- #: src/Admin/Pages/Settings.php:51
298
- msgid "Mail"
299
msgstr ""
300
301
- #: src/Admin/Pages/Settings.php:67
302
- msgid "You can specify the email address that emails should be sent from."
303
msgstr ""
304
305
- #: src/Admin/Pages/Settings.php:71
306
- msgid "If you leave this blank, the default one will be used: %s."
307
msgstr ""
308
309
- #: src/Admin/Pages/Settings.php:77
310
- msgid "Please note if you are sending using an email provider (Gmail, Yahoo, Hotmail, Outlook.com, etc) this setting should be your email address for that account."
311
msgstr ""
312
313
- #: src/Admin/Pages/Settings.php:94
314
- msgid "You can specify the name that emails should be sent from."
315
msgstr ""
316
317
- #: src/Admin/Pages/Settings.php:98
318
- msgid "If you leave this blank, the emails will be sent from %s."
319
msgstr ""
320
321
- #: src/Admin/Pages/Settings.php:155
322
- msgid "If unchecked bounce messages may be lost."
323
msgstr ""
324
325
- #: src/Admin/Pages/Test.php:27
326
- msgid "Email Test"
327
msgstr ""
328
329
- #: src/Admin/Pages/Test.php:56
330
- msgid "Send To"
331
msgstr ""
332
333
- #: src/Admin/Pages/Test.php:61
334
- msgid "Type an email address here and then click a button below to generate a test email."
335
msgstr ""
336
337
- #: src/Admin/Pages/Test.php:67
338
- msgid "Send Email"
339
msgstr ""
340
341
- #: src/Admin/Pages/Test.php:87
342
- msgid "Test failed. Please use a valid email address and try to resend the test email."
343
msgstr ""
344
345
- #: src/Admin/Pages/Test.php:111
346
- msgid "Test email to %s"
347
msgstr ""
348
349
- #: src/Admin/Pages/Test.php:114
350
- msgid "This email was sent by %s mailer, and generated by the WP Mail SMTP WordPress plugin."
351
msgstr ""
352
353
- #: src/Admin/Pages/Test.php:127
354
- msgid "Your email was sent successfully!"
355
msgstr ""
356
357
- #: src/Admin/Pages/Test.php:134
358
- msgid "There was a problem while sending a test email. Related debugging output is shown below:"
359
msgstr ""
360
361
- #: src/Admin/Pages/Test.php:136
362
- msgid "Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues."
363
msgstr ""
364
365
- #: src/Providers/Gmail/Options.php:25
366
- msgid "Gmail"
367
msgstr ""
368
369
- #: src/Providers/Gmail/Options.php:29
370
- msgid "Send emails using your Gmail or G Suite (formerly Google Apps) account, all while keeping your login credentials safe. Other Google SMTP methods require enabling less secure apps in your account and entering your password. However, this integration uses the Google API to improve email delivery issues while keeping your site secure.<br><br>Read our %1$sGmail documentation%2$s to learn how to configure Gmail or G Suite."
371
msgstr ""
372
373
- #: src/Providers/Gmail/Options.php:63
374
- msgid "Client ID"
375
msgstr ""
376
377
- #: src/Providers/Gmail/Options.php:77
378
- msgid "Client Secret"
379
msgstr ""
380
381
- #: src/Providers/Gmail/Options.php:91
382
- msgid "Authorized redirect URI"
383
msgstr ""
384
385
- #: src/Providers/Gmail/Options.php:99
386
- msgid "Copy URL to clipboard"
387
msgstr ""
388
389
- #: src/Providers/Gmail/Options.php:104
390
- msgid "This is the path on your site that you will be redirected to after you have authenticated with Google."
391
msgstr ""
392
393
- #: src/Providers/Gmail/Options.php:106
394
- msgid "You need to copy this URL into \"Authorized redirect URIs\" field for you web application on Google APIs site for your project there."
395
msgstr ""
396
397
- #: src/Providers/Gmail/Options.php:116
398
- msgid "Authorize"
399
msgstr ""
400
401
- #: src/Providers/Gmail/Options.php:120
402
- msgid "Allow plugin to send emails using your Google account"
403
msgstr ""
404
405
- #: src/Providers/Gmail/Options.php:123
406
- msgid "Click the button above to confirm authorization."
407
msgstr ""
408
409
- #: src/Providers/Mail/Options.php:25
410
- msgid "Default (none)"
411
msgstr ""
412
413
- #: src/Providers/Mail/Options.php:37
414
- msgid "You currently have the native WordPress option selected. Please select any other Mailer option above to continue the setup."
415
msgstr ""
416
417
- #: src/Providers/Mailgun/Options.php:25
418
- msgid "Mailgun"
419
msgstr ""
420
421
- #: src/Providers/Mailgun/Options.php:29
422
- msgid "%1$sMailgun%2$s is one of the leading transactional email services trusted by over 10,000 website and application developers. They provide users 10,000 free emails per month.<br><br>Read our %3$sMailgun documentation%4$s to learn how to configure Mailgun and improve your email deliverability."
423
msgstr ""
424
425
- #: src/Providers/Mailgun/Options.php:57
426
- msgid "Private API Key"
427
msgstr ""
428
429
- #: src/Providers/Mailgun/Options.php:69
430
- msgid "Follow this link to get an API Key from Mailgun: %s."
431
msgstr ""
432
433
- #: src/Providers/Mailgun/Options.php:71
434
- msgid "Get a Private API Key"
435
msgstr ""
436
437
- #: src/Providers/Mailgun/Options.php:82
438
- msgid "Domain Name"
439
msgstr ""
440
441
- #: src/Providers/Mailgun/Options.php:94
442
- msgid "Follow this link to get a Domain Name from Mailgun: %s."
443
msgstr ""
444
445
- #: src/Providers/Mailgun/Options.php:96
446
- msgid "Get a Domain Name"
447
msgstr ""
448
449
#: src/Providers/Pepipost/Options.php:25
@@ -454,6 +473,7 @@ msgstr ""
454
msgid "SendGrid"
455
msgstr ""
456
457
#: src/Providers/Sendgrid/Options.php:29
458
msgid "%1$sSendGrid%2$s is one of the leading transactional email services, sending over 35 billion emails every month. They provide users 100 free emails per month.<br><br>Read our %3$sSendGrid documentation%4$s to learn how to set up SendGrid and improve your email deliverability."
459
msgstr ""
@@ -462,6 +482,7 @@ msgstr ""
462
msgid "API Key"
463
msgstr ""
464
465
#: src/Providers/Sendgrid/Options.php:69
466
msgid "Follow this link to get an API Key from SendGrid: %s."
467
msgstr ""
@@ -470,6 +491,7 @@ msgstr ""
470
msgid "Create API Key"
471
msgstr ""
472
473
#: src/Providers/Sendgrid/Options.php:79
474
msgid "To send emails you will need only a %s access level for this API key."
475
msgstr ""
@@ -481,3 +503,134 @@ msgstr ""
481
#: src/Providers/SMTP/Options.php:29
482
msgid "Use the SMTP details provided by your hosting provider or email service.<br><br>To see recommended settings for the popular services as well as troubleshooting tips, check out our %1$sSMTP documentation%2$s."
483
msgstr ""
14
"X-Poedit-SourceCharset: UTF-8\n"
15
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17
+ #. translators: %s - error code, returned by Google API.
18
+ #: src/Admin/Area.php:95
19
+ msgid "There was an error while processing the authentication request: %s. Please try again."
20
msgstr ""
21
22
+ #: src/Admin/Area.php:102
23
+ msgid "There was an error while processing the authentication request. Please try again."
24
msgstr ""
25
26
+ #: src/Admin/Area.php:109
27
+ msgid "There was an error while processing the authentication request. Please make sure that you have Client ID and Client Secret both valid and saved."
28
msgstr ""
29
30
+ #: src/Admin/Area.php:118
31
+ msgid "You have successfully linked the current site with your Google API project. Now you can start sending emails through Google."
32
msgstr ""
33
34
+ #. translators: %s - Mailer anchor link.
35
+ #: src/Admin/Area.php:147
36
+ msgid "Thanks for using WP Mail SMTP! To complete the plugin setup and start sending emails, <strong>please select and configure your <a href=\"%s\">Mailer</a></strong>."
37
msgstr ""
38
39
+ #: src/Admin/Area.php:169
40
+ msgid "WP Mail SMTP Options"
41
msgstr ""
42
43
+ #: src/Admin/Area.php:170, wp_mail_smtp.php:652
44
+ msgid "WP Mail SMTP"
45
msgstr ""
46
47
+ #. translators: %1$s - WP.org link; %2$s - same WP.org link.
48
+ #: src/Admin/Area.php:242
49
+ msgid "Please rate <strong>WP Mail SMTP</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\">WordPress.org</a> to help us spread the word. Thank you from the WP Mail SMTP team!"
50
msgstr ""
51
52
+ #: src/Admin/Area.php:410
53
+ msgid "WPForms related message was successfully dismissed"
54
msgstr ""
55
56
+ #: src/Admin/Area.php:444, src/Admin/Pages/Settings.php:26, wp_mail_smtp.php:758
57
+ msgid "Settings"
58
msgstr ""
59
60
+ #: src/Admin/Pages/Misc.php:24
61
+ msgid "Misc"
62
msgstr ""
63
64
+ #: src/Admin/Pages/Misc.php:48
65
+ msgid "General"
66
msgstr ""
67
68
+ #: src/Admin/Pages/Misc.php:55, wp_mail_smtp.php:395, wp_mail_smtp.php:400
69
+ msgid "Hide Announcements"
70
msgstr ""
71
72
+ #: src/Admin/Pages/Misc.php:62, wp_mail_smtp.php:405
73
+ msgid "Check this if you would like to hide plugin announcements and update details."
74
msgstr ""
75
76
+ #: src/Admin/Pages/Misc.php:69
77
+ msgid "Uninstall WP Mail SMTP"
78
msgstr ""
79
80
+ #: src/Admin/Pages/Misc.php:75
81
+ msgid "Check this if you would like to remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable."
82
msgstr ""
83
84
+ #: src/Admin/Pages/Misc.php:80, src/Admin/Pages/Settings.php:206
85
+ msgid "Save Settings"
86
msgstr ""
87
88
+ #: src/Admin/Pages/Misc.php:111, src/Admin/Pages/Settings.php:387
89
+ msgid "Settings were successfully saved."
90
msgstr ""
91
92
+ #: src/Admin/Pages/Settings.php:51
93
+ msgid "Mail"
94
msgstr ""
95
96
+ #: src/Admin/Pages/Settings.php:58, wp_mail_smtp.php:296
97
+ msgid "From Email"
98
msgstr ""
99
100
+ #: src/Admin/Pages/Settings.php:68
101
+ msgid "The email address which emails are sent from."
102
msgstr ""
103
104
+ #: src/Admin/Pages/Settings.php:69
105
+ msgid "If you using an email provider (Gmail, Yahoo, Outlook.com, etc) this should be your email address for that account."
106
msgstr ""
107
108
+ #: src/Admin/Pages/Settings.php:73
109
+ msgid "Please note that other plugins can change this, to prevent this use the setting below."
110
msgstr ""
111
112
+ #: src/Admin/Pages/Settings.php:84
113
+ msgid "Force From Email"
114
msgstr ""
115
116
+ #: src/Admin/Pages/Settings.php:88
117
+ msgid "If checked, the From Email setting above will be used for all emails, ignoring values set by other plugins."
118
msgstr ""
119
120
+ #: src/Admin/Pages/Settings.php:96, wp_mail_smtp.php:315
121
+ msgid "From Name"
122
msgstr ""
123
124
+ #: src/Admin/Pages/Settings.php:106
125
+ msgid "The name which emails are sent from."
126
msgstr ""
127
128
+ #: src/Admin/Pages/Settings.php:117
129
+ msgid "Force From Name"
130
msgstr ""
131
132
+ #: src/Admin/Pages/Settings.php:121
133
+ msgid "If checked, the From Name setting above will be used for all emails, ignoring values set by other plugins."
134
msgstr ""
135
136
+ #: src/Admin/Pages/Settings.php:129, wp_mail_smtp.php:330, wp_mail_smtp.php:335
137
+ msgid "Mailer"
138
msgstr ""
139
140
+ #: src/Admin/Pages/Settings.php:162, wp_mail_smtp.php:371, wp_mail_smtp.php:376
141
+ msgid "Return Path"
142
msgstr ""
143
144
+ #: src/Admin/Pages/Settings.php:171, wp_mail_smtp.php:381
145
+ msgid "Set the return-path to match the From Email"
146
msgstr ""
147
148
+ #: src/Admin/Pages/Settings.php:175, wp_mail_smtp.php:385
149
+ msgid "Return Path indicates where non-delivery receipts - or bounce messages - are to be sent."
150
msgstr ""
151
152
+ #: src/Admin/Pages/Settings.php:176
153
+ msgid "If unchecked bounce messages may be lost."
154
msgstr ""
155
156
+ #: src/Admin/Pages/Settings.php:244
157
+ msgid "Get WPForms Pro and Support WP Mail SMTP"
158
msgstr ""
159
160
+ #: src/Admin/Pages/Settings.php:248
161
+ msgid "WP Mail SMTP is a free plugin, and the team behind WPForms maintain it to give back to the WordPress community."
162
msgstr ""
163
164
+ #. translators: %s - WPForms.com URL.
165
+ #: src/Admin/Pages/Settings.php:256
166
+ msgid "Please consider supporting us by <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">purchasing a WPForms Pro license</a>. Aside from getting access to the best drag & drop WordPress form builder plugin, your purchase will help us continue to maintain and add new features to the WP Mail SMTP plugin while keeping this SMTP plugin free for the larger WordPress community."
167
msgstr ""
168
169
+ #. translators: %s - link to WP.org repo and 5 HTML encoded stars as a label.
170
+ #: src/Admin/Pages/Settings.php:274
171
+ msgid "We know that you will truly love WPForms. It has over 2000+ five star ratings (%s) and is active on over 1 million websites."
172
msgstr ""
173
174
+ #: src/Admin/Pages/Settings.php:280
175
+ msgid "Other Benefits:"
176
msgstr ""
177
178
+ #: src/Admin/Pages/Settings.php:284
179
+ msgid "Access to premium support for WP Mail SMTP"
180
msgstr ""
181
182
+ #: src/Admin/Pages/Settings.php:285
183
+ msgid "Get the best drag & drop form builder"
184
msgstr ""
185
186
+ #: src/Admin/Pages/Settings.php:286
187
+ msgid "All form features like file upload, pagination, etc"
188
msgstr ""
189
190
+ #: src/Admin/Pages/Settings.php:287
191
+ msgid "Create surveys & polls with the surveys addon"
192
msgstr ""
193
194
+ #: src/Admin/Pages/Settings.php:290
195
+ msgid "No future ads inside WP Mail SMTP admin"
196
msgstr ""
197
198
+ #: src/Admin/Pages/Settings.php:291
199
+ msgid "Pre-made form templates and smart conditional logic"
200
msgstr ""
201
202
+ #: src/Admin/Pages/Settings.php:292
203
+ msgid "500+ integrations with different marketing & payment services"
204
msgstr ""
205
206
+ #: src/Admin/Pages/Settings.php:293
207
+ msgid "Collect signatures, geo-location data, and more"
208
msgstr ""
209
210
+ #. translators: %1$s - WPForms.com URL, %2$s - percents off.
211
+ #: src/Admin/Pages/Settings.php:302
212
+ msgid "<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">Get WPForms Pro and support WP Mail SMTP</a> - use coupon \"<strong>thankyou</strong>\" to save %2$s off your purchase."
213
msgstr ""
214
215
+ #: src/Admin/Pages/Test.php:27
216
+ msgid "Email Test"
217
msgstr ""
218
219
+ #: src/Admin/Pages/Test.php:49, wp_mail_smtp.php:598
220
+ msgid "Send a Test Email"
221
msgstr ""
222
223
+ #: src/Admin/Pages/Test.php:56
224
+ msgid "Send To"
225
msgstr ""
226
227
+ #: src/Admin/Pages/Test.php:61
228
+ msgid "Type an email address here and then click a button below to generate a test email."
229
msgstr ""
230
231
+ #: src/Admin/Pages/Test.php:67
232
+ msgid "Send Email"
233
msgstr ""
234
235
+ #: src/Admin/Pages/Test.php:87
236
+ msgid "Test failed. Please use a valid email address and try to resend the test email."
237
msgstr ""
238
239
+ #. translators: %s - email address a test email will be sent to.
240
+ #: src/Admin/Pages/Test.php:111
241
+ msgid "Test email to %s"
242
msgstr ""
243
244
+ #. translators: %s - mailer name.
245
+ #: src/Admin/Pages/Test.php:114
246
+ msgid "This email was sent by %s mailer, and generated by the WP Mail SMTP WordPress plugin."
247
msgstr ""
248
249
+ #: src/Admin/Pages/Test.php:127
250
+ msgid "Your email was sent successfully!"
251
msgstr ""
252
253
+ #: src/Admin/Pages/Test.php:134
254
+ msgid "There was a problem while sending a test email. Related debugging output is shown below:"
255
msgstr ""
256
257
+ #: src/Admin/Pages/Test.php:136
258
+ msgid "Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues."
259
msgstr ""
260
261
+ #. translators: 1: plugin name(s).
262
+ #. translators: 1: plugin name(s).
263
+ #: src/Core.php:243, src/Core.php:249
264
+ msgid "Thanks for installing WP Mail SMTP. We also recommend using %1$s. It's the best drag & drop form builder, has over 1 million active installs, and over 2000+ 5 star ratings."
265
+ msgid_plural "Thanks for installing WP Mail SMTP. We also recommend using %1$s. It's the best drag & drop form builder, has over 1 million active installs, and over 2000+ 5 star ratings."
266
+ msgstr[0] ""
267
+ msgstr[1] ""
268
269
+ #: src/Core.php:254
270
+ msgid "Install WPForms Now"
271
+ msgid_plural "Begin installing plugins"
272
+ msgstr[0] ""
273
+ msgstr[1] ""
274
275
+ #: src/Core.php:259
276
+ msgid "Activate WPForms"
277
+ msgid_plural "Begin activating plugins"
278
+ msgstr[0] ""
279
+ msgstr[1] ""
280
281
+ #: src/Core.php:289
282
+ msgid "<strong>EMAIL DELIVERY ERROR:</strong> WP Mail SMTP plugin logged this error during the last time it tried to send an email: "
283
msgstr ""
284
285
+ #: src/Core.php:318
286
+ msgid "Consider running an email test after fixing it."
287
msgstr ""
288
289
+ #. translators: %1$s - Plugin name causing conflict; %2$s - Plugin name causing conflict.
290
+ #: src/Core.php:468
291
+ msgid "Heads up! WP Mail SMTP has detected %1$s is activated. Please deactivate %2$s to prevent conflicts."
292
msgstr ""
293
294
+ #: src/Providers/Gmail/Options.php:25
295
+ msgid "Gmail"
296
msgstr ""
297
298
+ #. translators: %1$s - opening link tag; %2$s - closing link tag.
299
+ #: src/Providers/Gmail/Options.php:29
300
+ msgid "Send emails using your Gmail or G Suite (formerly Google Apps) account, all while keeping your login credentials safe. Other Google SMTP methods require enabling less secure apps in your account and entering your password. However, this integration uses the Google API to improve email delivery issues while keeping your site secure.<br><br>Read our %1$sGmail documentation%2$s to learn how to configure Gmail or G Suite."
301
msgstr ""
302
303
+ #: src/Providers/Gmail/Options.php:64
304
+ msgid "Client ID"
305
msgstr ""
306
307
+ #: src/Providers/Gmail/Options.php:79
308
+ msgid "Client Secret"
309
msgstr ""
310
311
+ #: src/Providers/Gmail/Options.php:94
312
+ msgid "Authorized redirect URI"
313
msgstr ""
314
315
+ #: src/Providers/Gmail/Options.php:102
316
+ msgid "Copy URL to clipboard"
317
msgstr ""
318
319
+ #: src/Providers/Gmail/Options.php:107
320
+ msgid "This is the path on your site that you will be redirected to after you have authenticated with Google."
321
msgstr ""
322
323
+ #: src/Providers/Gmail/Options.php:109
324
+ msgid "You need to copy this URL into \"Authorized redirect URIs\" field for you web application on Google APIs site for your project there."
325
msgstr ""
326
327
+ #: src/Providers/Gmail/Options.php:118
328
+ msgid "Authorization"
329
msgstr ""
330
331
+ #: src/Providers/Gmail/Options.php:143
332
+ msgid "Are you sure you want to reset the current Gmail connection? You will need to immediately create a new one to be able to send emails."
333
msgstr ""
334
335
+ #: src/Providers/Gmail/Options.php:151
336
+ msgid "Allow plugin to send emails using your Google account"
337
msgstr ""
338
339
+ #: src/Providers/Gmail/Options.php:154
340
+ msgid "Click the button above to confirm authorization."
341
msgstr ""
342
343
+ #: src/Providers/Gmail/Options.php:160
344
+ msgid "Remove Connection"
345
msgstr ""
346
347
+ #: src/Providers/Gmail/Options.php:163
348
+ msgid "Removing the connection will give you an ability to redo the connection or link to another Google account."
349
msgstr ""
350
351
+ #: src/Providers/Gmail/Options.php:171
352
+ msgid "To setup Gmail integration properly you should save Client ID and Client Secret."
353
msgstr ""
354
355
+ #: src/Providers/Mailgun/Options.php:25
356
+ msgid "Mailgun"
357
msgstr ""
358
359
+ #. translators: %1$s - opening link tag; %2$s - closing link tag; %3$s - opening link tag; %4$s - closing link tag.
360
+ #: src/Providers/Mailgun/Options.php:29
361
+ msgid "%1$sMailgun%2$s is one of the leading transactional email services trusted by over 10,000 website and application developers. They provide users 10,000 free emails per month.<br><br>Read our %3$sMailgun documentation%4$s to learn how to configure Mailgun and improve your email deliverability."
362
msgstr ""
363
364
+ #: src/Providers/Mailgun/Options.php:57
365
+ msgid "Private API Key"
366
msgstr ""
367
368
+ #. translators: %s - API key link.
369
+ #: src/Providers/Mailgun/Options.php:69
370
+ msgid "Follow this link to get an API Key from Mailgun: %s."
371
msgstr ""
372
373
+ #: src/Providers/Mailgun/Options.php:71
374
+ msgid "Get a Private API Key"
375
msgstr ""
376
377
+ #: src/Providers/Mailgun/Options.php:82
378
+ msgid "Domain Name"
379
msgstr ""
380
381
+ #. translators: %s - Domain Name link.
382
+ #: src/Providers/Mailgun/Options.php:94
383
+ msgid "Follow this link to get a Domain Name from Mailgun: %s."
384
msgstr ""
385
386
+ #: src/Providers/Mailgun/Options.php:96
387
+ msgid "Get a Domain Name"
388
msgstr ""
389
390
+ #: src/Providers/Mail/Options.php:25
391
+ msgid "Default (none)"
392
msgstr ""
393
394
+ #: src/Providers/Mail/Options.php:37
395
+ msgid "You currently have the native WordPress option selected. Please select any other Mailer option above to continue the setup."
396
msgstr ""
397
398
+ #: src/Providers/OptionsAbstract.php:126, wp_mail_smtp.php:425
399
+ msgid "SMTP Host"
400
msgstr ""
401
402
+ #: src/Providers/OptionsAbstract.php:140, wp_mail_smtp.php:440, wp_mail_smtp.php:444, wp_mail_smtp.php:559, wp_mail_smtp.php:565
403
+ msgid "Encryption"
404
msgstr ""
405
406
+ #: src/Providers/OptionsAbstract.php:150
407
+ msgid "None"
408
msgstr ""
409
410
+ #: src/Providers/OptionsAbstract.php:159
411
+ msgid "SSL"
412
msgstr ""
413
414
+ #: src/Providers/OptionsAbstract.php:168
415
+ msgid "TLS"
416
msgstr ""
417
418
+ #: src/Providers/OptionsAbstract.php:172
419
+ msgid "For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS."
420
msgstr ""
421
422
+ #: src/Providers/OptionsAbstract.php:180, wp_mail_smtp.php:433, wp_mail_smtp.php:551
423
+ msgid "SMTP Port"
424
msgstr ""
425
426
+ #: src/Providers/OptionsAbstract.php:194
427
+ msgid "Auto TLS"
428
msgstr ""
429
430
+ #: src/Providers/OptionsAbstract.php:204, src/Providers/OptionsAbstract.php:226
431
+ msgid "On"
432
msgstr ""
433
434
+ #: src/Providers/OptionsAbstract.php:205, src/Providers/OptionsAbstract.php:227
435
+ msgid "Off"
436
msgstr ""
437
438
+ #: src/Providers/OptionsAbstract.php:208
439
+ msgid "By default TLS encryption is automatically used if the server supports it, which is recommended. In some cases, due to server misconfigurations, this can cause issues and may need to be disabled."
440
msgstr ""
441
442
+ #: src/Providers/OptionsAbstract.php:216, wp_mail_smtp.php:467, wp_mail_smtp.php:471
443
+ msgid "Authentication"
444
msgstr ""
445
446
+ #: src/Providers/OptionsAbstract.php:235
447
+ msgid "SMTP Username"
448
msgstr ""
449
450
+ #: src/Providers/OptionsAbstract.php:249
451
+ msgid "SMTP Password"
452
msgstr ""
453
454
+ #. translators: %s - wp-config.php.
455
+ #: src/Providers/OptionsAbstract.php:263
456
+ msgid "The password is stored in plain text. We highly recommend you setup your password in your WordPress configuration file for improved security; to do this add the lines below to your %s file."
457
msgstr ""
458
459
+ #. translators: %1$s - Provider name; %2$s - PHP version required by Provider; %3$s - current PHP version.
460
+ #: src/Providers/OptionsAbstract.php:300
461
+ msgid "%1$s requires PHP %2$s to work and does not support your current PHP version %3$s. Please contact your host and request a PHP upgrade to the latest one."
462
msgstr ""
463
464
+ #: src/Providers/OptionsAbstract.php:307
465
+ msgid "Meanwhile you can switch to the \"Other SMTP\" Mailer option."
466
msgstr ""
467
468
#: src/Providers/Pepipost/Options.php:25
473
msgid "SendGrid"
474
msgstr ""
475
476
+ #. translators: %1$s - opening link tag; %2$s - closing link tag; %3$s - opening link tag; %4$s - closing link tag.
477
#: src/Providers/Sendgrid/Options.php:29
478
msgid "%1$sSendGrid%2$s is one of the leading transactional email services, sending over 35 billion emails every month. They provide users 100 free emails per month.<br><br>Read our %3$sSendGrid documentation%4$s to learn how to set up SendGrid and improve your email deliverability."
479
msgstr ""
482
msgid "API Key"
483
msgstr ""
484
485
+ #. translators: %s - API key link.
486
#: src/Providers/Sendgrid/Options.php:69
487
msgid "Follow this link to get an API Key from SendGrid: %s."
488
msgstr ""
491
msgid "Create API Key"
492
msgstr ""
493
494
+ #. translators: %s - SendGrid access level.
495
#: src/Providers/Sendgrid/Options.php:79
496
msgid "To send emails you will need only a %s access level for this API key."
497
msgstr ""
503
#: src/Providers/SMTP/Options.php:29
504
msgid "Use the SMTP details provided by your hosting provider or email service.<br><br>To see recommended settings for the popular services as well as troubleshooting tips, check out our %1$sSMTP documentation%2$s."
505
msgstr ""
506
+
507
+ #. translators: %s - email address where test mail will be sent to.
508
+ #: wp_mail_smtp.php:251
509
+ msgid "Test mail to %s"
510
+ msgstr ""
511
+
512
+ #: wp_mail_smtp.php:252
513
+ msgid "This is a test email generated by the WP Mail SMTP WordPress plugin."
514
+ msgstr ""
515
+
516
+ #: wp_mail_smtp.php:268
517
+ msgid "Test Message Sent"
518
+ msgstr ""
519
+
520
+ #: wp_mail_smtp.php:269
521
+ msgid "The result was:"
522
+ msgstr ""
523
+
524
+ #: wp_mail_smtp.php:272
525
+ msgid "The full debugging output is shown below:"
526
+ msgstr ""
527
+
528
+ #: wp_mail_smtp.php:275
529
+ msgid "The SMTP debugging output is shown below:"
530
+ msgstr ""
531
+
532
+ #: wp_mail_smtp.php:242, wp_mail_smtp.php:616
533
+ msgid "Send Test"
534
+ msgstr ""
535
+
536
+ #: wp_mail_smtp.php:287, wp_mail_smtp.php:652
537
+ msgid "WP Mail SMTP Settings"
538
+ msgstr ""
539
+
540
+ #: wp_mail_smtp.php:303
541
+ msgid "You can specify the email address that emails should be sent from. If you leave this blank, the default email will be used."
542
+ msgstr ""
543
+
544
+ #: wp_mail_smtp.php:306
545
+ msgid "<strong>Please Note:</strong> You appear to be using a version of WordPress prior to 2.3. Please ignore the From Name field and instead enter Name&lt;email@domain.com&gt; in this field."
546
+ msgstr ""
547
+
548
+ #: wp_mail_smtp.php:321
549
+ msgid "You can specify the name that emails should be sent from. If you leave this blank, the emails will be sent from WordPress."
550
+ msgstr ""
551
+
552
+ #: wp_mail_smtp.php:340
553
+ msgid "Send all WordPress emails via SMTP."
554
+ msgstr ""
555
+
556
+ #: wp_mail_smtp.php:344
557
+ msgid "Use the PHP mail() function to send emails."
558
+ msgstr ""
559
+
560
+ #: wp_mail_smtp.php:350
561
+ msgid "Use Pepipost SMTP to send emails."
562
+ msgstr ""
563
+
564
+ #. translators: %1$s - link start; %2$s - link end.
565
+ #: wp_mail_smtp.php:356
566
+ msgid "Looking for high inbox delivery? Try Pepipost with easy setup and free emails. Learn more %1$shere%2$s."
567
+ msgstr ""
568
+
569
+ #: wp_mail_smtp.php:413, wp_mail_smtp.php:513, wp_mail_smtp.php:589
570
+ msgid "Save Changes"
571
+ msgstr ""
572
+
573
+ #: wp_mail_smtp.php:418
574
+ msgid "SMTP Options"
575
+ msgstr ""
576
+
577
+ #: wp_mail_smtp.php:420
578
+ msgid "These options only apply if you have chosen to send mail by SMTP above."
579
+ msgstr ""
580
+
581
+ #: wp_mail_smtp.php:449, wp_mail_smtp.php:571
582
+ msgid "No encryption."
583
+ msgstr ""
584
+
585
+ #: wp_mail_smtp.php:454, wp_mail_smtp.php:576
586
+ msgid "Use SSL encryption."
587
+ msgstr ""
588
+
589
+ #: wp_mail_smtp.php:459, wp_mail_smtp.php:581
590
+ msgid "Use TLS encryption."
591
+ msgstr ""
592
+
593
+ #: wp_mail_smtp.php:462
594
+ msgid "TLS is not the same as STARTTLS. For most servers SSL is the recommended option."
595
+ msgstr ""
596
+
597
+ #: wp_mail_smtp.php:476
598
+ msgid "No: Do not use SMTP authentication."
599
+ msgstr ""
600
+
601
+ #: wp_mail_smtp.php:481
602
+ msgid "Yes: Use SMTP authentication."
603
+ msgstr ""
604
+
605
+ #: wp_mail_smtp.php:485
606
+ msgid "If this is set to no, the values below are ignored."
607
+ msgstr ""
608
+
609
+ #: wp_mail_smtp.php:492, wp_mail_smtp.php:535
610
+ msgid "Username"
611
+ msgstr ""
612
+
613
+ #: wp_mail_smtp.php:500, wp_mail_smtp.php:543
614
+ msgid "Password"
615
+ msgstr ""
616
+
617
+ #: wp_mail_smtp.php:506
618
+ msgid "This is in plain text because it must not be stored encrypted."
619
+ msgstr ""
620
+
621
+ #: wp_mail_smtp.php:520
622
+ msgid "Pepipost SMTP Options"
623
+ msgstr ""
624
+
625
+ #. translators: %s - Pepipost registration URL.
626
+ #: wp_mail_smtp.php:526
627
+ msgid "You need to signup on %s to get the SMTP username/password."
628
+ msgstr ""
629
+
630
+ #: wp_mail_smtp.php:606
631
+ msgid "To"
632
+ msgstr ""
633
+
634
+ #: wp_mail_smtp.php:610
635
+ msgid "Type an email address here and then click Send Test to generate a test email."
636
+ msgstr ""
readme.txt CHANGED
@@ -6,13 +6,13 @@ Tested up to: 4.9
6
Stable tag: trunk
7
Requires PHP: 5.3
8
9
- The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 700k sites.
10
11
== Description ==
12
13
= WordPress Mail SMTP Plugin =
14
15
- Having problems with your WordPress site not sending emails? You're not alone. Over 700,000 websites use WP Mail SMTP to fix their email deliverability issues.
16
17
WP Mail SMTP fixes your email deliverability by reconfiguring the wp_mail() PHP function to use a proper SMTP provider.
18
@@ -146,7 +146,31 @@ By all means please contact us to discuss features or options you'd like to see
146
147
== Changelog ==
148
149
- = 1.2.5 - 2018-02-05 =
150
* Fixed: `Return path` can't be turned off.
151
* Fixed: `Authentication` sometimes can't be turned off.
152
* Fixed: `Auto TLS` sometimes can't be turned off.
@@ -161,10 +185,10 @@ By all means please contact us to discuss features or options you'd like to see
161
* Changed: Do not autoload on each page request plugin settings from WordPress options table.
162
* Changed: Do not autoload Pepipost classes unless it's saved as active mailer in settings.
163
164
- = 1.2.4 - 2018-01-28 =
165
* Fixed: Improved escaping in debug reporting.
166
167
- = 1.2.3 - 2018-01-22 =
168
* Fixed: Gmail tokens were reset after clicking Save Settings.
169
* Fixed: Slight typo in Gmail success message.
170
6
Stable tag: trunk
7
Requires PHP: 5.3
8
9
+ The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 900k sites.
10
11
== Description ==
12
13
= WordPress Mail SMTP Plugin =
14
15
+ Having problems with your WordPress site not sending emails? You're not alone. Over 900,000 websites use WP Mail SMTP to fix their email deliverability issues.
16
17
WP Mail SMTP fixes your email deliverability by reconfiguring the wp_mail() PHP function to use a proper SMTP provider.
18
146
147
== Changelog ==
148
149
+ = 1.3.0 - 2018-06-28 =
150
+ * Added: New option: force From Email rewrite regardless of the current value.
151
+ * Added: New option: force From Name rewrite regardless of the current value.
152
+ * Added: New option: remove all plugin data on plugin uninstall (when user deletes it).
153
+ * Added: Notify site admins in wp-admin area with a notice about last failed email delivery. Cleans up on successful delivery.
154
+ * Added: Notify site admins in wp-admin area with a notice about possible compatibility issues with other SMTP and email delivery plugins.
155
+ * Added: Improve User Debug Experience when doing Email Test - display helpful description and steps to fix the issue.
156
+ * Added: New users: provide default SMTP Port value for new users based on Encryption selection.
157
+ * Added: New users: notify about not configured plugin settings.
158
+ * Added: New users: Recommend free WPForms Lite plugin for those who don't have it.
159
+ * Added: SendGrid/Mailgun: provide support for multipart/alternative types of emails.
160
+ * Added: Gmail: new button to remove connection and to connect a new Google account.
161
+ * Fixed: Support plugin installation into /mu-plugins/ directory.
162
+ * Fixed: SendGrid: required text/plain part of email being the first one - fixes plain text emails not having links.
163
+ * Fixed: SendGrid and Mailgun: improperly sending plain text emails in html format.
164
+ * Fixed: SMTP Debug output was empty in some cases.
165
+ * Fixed: Compatibility with lots of other plugins that use Google Analytics library of different versions.
166
+ * Fixed: "client_id is empty" is no more a problem, should be fixed.
167
+ * Changed: For SendGrid and Mailgun allow using custom defined attachments names if present. Fallback to file name.
168
+ * Changed: Gmail: switch to a wider scope to prevent possible issues in certain circumstances.
169
+ * Changed: Remove whitespaces start/end of keys, secrets etc.
170
+ * Changed: Improved helpful description tests of various options.
171
+ * Changed: Improved plugin autoloading functionality.
172
+
173
+ = 1.2.5 - 2017-02-05 =
174
* Fixed: `Return path` can't be turned off.
175
* Fixed: `Authentication` sometimes can't be turned off.
176
* Fixed: `Auto TLS` sometimes can't be turned off.
185
* Changed: Do not autoload on each page request plugin settings from WordPress options table.
186
* Changed: Do not autoload Pepipost classes unless it's saved as active mailer in settings.
187
188
+ = 1.2.4 - 2017-01-28 =
189
* Fixed: Improved escaping in debug reporting.
190
191
+ = 1.2.3 - 2017-01-22 =
192
* Fixed: Gmail tokens were reset after clicking Save Settings.
193
* Fixed: Slight typo in Gmail success message.
194
src/Admin/Area.php CHANGED
@@ -3,6 +3,7 @@
3
namespace WPMailSMTP\Admin;
4
5
use WPMailSMTP\WP;
6
7
/**
8
* Class Area registers and process all wp-admin display functionality.
@@ -60,11 +61,17 @@ class Area {
60
// Display custom notices based on the error/success codes.
61
add_action( 'admin_init', array( $this, 'display_custom_auth_notices' ) );
62
63
// Outputs the plugin admin header.
64
add_action( 'in_admin_header', array( $this, 'display_admin_header' ), 100 );
65
66
// Hide all unrelated to the plugin notices on the plugin admin pages.
67
add_action( 'admin_print_scripts', array( $this, 'hide_unrelated_notices' ) );
68
}
69
70
/**
@@ -115,6 +122,42 @@ class Area {
115
}
116
}
117
118
/**
119
* Add admin area menu item.
120
*
@@ -351,6 +394,37 @@ class Area {
351
$this->pages[ $this->get_current_tab() ]->process_auth();
352
}
353
354
/**
355
* Add a link to Settings page of a plugin on Plugins page.
356
*
3
namespace WPMailSMTP\Admin;
4
5
use WPMailSMTP\WP;
6
+ use WPMailSMTP\Options;
7
8
/**
9
* Class Area registers and process all wp-admin display functionality.
61
// Display custom notices based on the error/success codes.
62
add_action( 'admin_init', array( $this, 'display_custom_auth_notices' ) );
63
64
+ // Display notice instructing the user to complete plugin setup.
65
+ add_action( 'admin_init', array( $this, 'display_setup_notice' ) );
66
+
67
// Outputs the plugin admin header.
68
add_action( 'in_admin_header', array( $this, 'display_admin_header' ), 100 );
69
70
// Hide all unrelated to the plugin notices on the plugin admin pages.
71
add_action( 'admin_print_scripts', array( $this, 'hide_unrelated_notices' ) );
72
+
73
+ // Process all AJAX requests.
74
+ add_action( 'wp_ajax_wp_mail_smtp_ajax', array( $this, 'process_ajax' ) );
75
}
76
77
/**
122
}
123
}
124
125
+ /**
126
+ * Display notice instructing the user to complete plugin setup.
127
+ *
128
+ * @since 1.3.0
129
+ */
130
+ public function display_setup_notice() {
131
+
132
+ // Bail if we're not on a plugin page.
133
+ if ( ! $this->is_admin_page() ) {
134
+ return;
135
+ }
136
+
137
+ // Check if the current settings are the same as the default settings.
138
+ if ( wp_json_encode( Options::init()->get_all() ) !== wp_json_encode( Options::get_defaults() ) ) {
139
+ return;
140
+ }
141
+
142
+ // Display notice informing user further action is needed.
143
+ WP::add_admin_notice(
144
+ sprintf(
145
+ wp_kses(
146
+ /* translators: %s - Mailer anchor link. */
147
+ __( 'Thanks for using WP Mail SMTP! To complete the plugin setup and start sending emails, <strong>please select and configure your <a href="%s">Mailer</a></strong>.', 'wp-mail-smtp' ),
148
+ array(
149
+ 'a' => array(
150
+ 'href' => array(),
151
+ ),
152
+ 'strong' => array(),
153
+ )
154
+ ),
155
+ '#wp-mail-smtp-setting-row-mailer'
156
+ ),
157
+ WP::ADMIN_NOTICE_INFO
158
+ );
159
+ }
160
+
161
/**
162
* Add admin area menu item.
163
*
394
$this->pages[ $this->get_current_tab() ]->process_auth();
395
}
396
397
+ /**
398
+ * Process all AJAX requests.
399
+ *
400
+ * @since 1.3.0
401
+ */
402
+ public function process_ajax() {
403
+
404
+ $task = sanitize_key( $_POST['task'] );
405
+ $data = array();
406
+
407
+ switch ( $task ) {
408
+ case 'wpforms_dismiss':
409
+ update_user_meta( get_current_user_id(), 'wp_mail_smtp_wpforms_dismissed', true );
410
+ $data['message'] = esc_html__( 'WPForms related message was successfully dismissed', 'wp-mail-smtp' );
411
+ break;
412
+
413
+ default:
414
+ // Allow custom tasks data processing being added here.
415
+ $data = apply_filters( 'wp_mail_smtp_admin_process_ajax_' . $task . '_data', $data );
416
+ }
417
+
418
+ // Final ability to rewrite all the data, just in case.
419
+ $data = (array) apply_filters( 'wp_mail_smtp_admin_process_ajax_data', $data, $task );
420
+
421
+ if ( empty( $data ) ) {
422
+ wp_send_json_error( $data );
423
+ }
424
+
425
+ wp_send_json_success( $data );
426
+ }
427
+
428
/**
429
* Add a link to Settings page of a plugin on Plugins page.
430
*
src/Admin/Pages/Misc.php CHANGED
@@ -58,11 +58,24 @@ class Misc extends PageAbstract {
58
<input name="wp-mail-smtp[general][am_notifications_hidden]" type="checkbox"
59
value="true" <?php checked( true, $options->get( 'general', 'am_notifications_hidden' ) ); ?>
60
id="wp-mail-smtp-setting-am_notifications_hidden"
61
- />
62
<label for="wp-mail-smtp-setting-am_notifications_hidden"><?php esc_html_e( 'Check this if you would like to hide plugin announcements and update details.', 'wp-mail-smtp' ); ?></label>
63
</div>
64
</div>
65
66
<p class="wp-mail-smtp-submit">
67
<button type="submit" class="wp-mail-smtp-btn wp-mail-smtp-btn-md wp-mail-smtp-btn-orange"><?php esc_html_e( 'Save Settings', 'wp-mail-smtp' ); ?></button>
68
</p>
@@ -81,10 +94,13 @@ class Misc extends PageAbstract {
81
82
$options = new Options();
83
84
- // Unchecked checkbox doesn't exist in $_POST, so we need to ensure we actually have it.
85
if ( empty( $data['general']['am_notifications_hidden'] ) ) {
86
$data['general']['am_notifications_hidden'] = false;
87
}
88
89
$to_save = array_merge( $options->get_all(), $data );
90
58
<input name="wp-mail-smtp[general][am_notifications_hidden]" type="checkbox"
59
value="true" <?php checked( true, $options->get( 'general', 'am_notifications_hidden' ) ); ?>
60
id="wp-mail-smtp-setting-am_notifications_hidden"
61
+ >
62
<label for="wp-mail-smtp-setting-am_notifications_hidden"><?php esc_html_e( 'Check this if you would like to hide plugin announcements and update details.', 'wp-mail-smtp' ); ?></label>
63
</div>
64
</div>
65
66
+ <!-- Uninstall -->
67
+ <div id="wp-mail-smtp-setting-row-uninstall" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
68
+ <div class="wp-mail-smtp-setting-label">
69
+ <label for="wp-mail-smtp-setting-uninstall"><?php esc_html_e( 'Uninstall WP Mail SMTP', 'wp-mail-smtp' ); ?></label>
70
+ </div>
71
+ <div class="wp-mail-smtp-setting-field">
72
+ <input name="wp-mail-smtp[general][uninstall]" type="checkbox"
73
+ value="true" <?php checked( true, $options->get( 'general', 'uninstall' ) ); ?>
74
+ id="wp-mail-smtp-setting-uninstall">
75
+ <label for="wp-mail-smtp-setting-uninstall"><?php esc_html_e( 'Check this if you would like to remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable.', 'wp-mail-smtp' ); ?></label>
76
+ </div>
77
+ </div>
78
+
79
<p class="wp-mail-smtp-submit">
80
<button type="submit" class="wp-mail-smtp-btn wp-mail-smtp-btn-md wp-mail-smtp-btn-orange"><?php esc_html_e( 'Save Settings', 'wp-mail-smtp' ); ?></button>
81
</p>
94
95
$options = new Options();
96
97
+ // Unchecked checkboxes doesn't exist in $_POST, so we need to ensure we actually have them in data to save.
98
if ( empty( $data['general']['am_notifications_hidden'] ) ) {
99
$data['general']['am_notifications_hidden'] = false;
100
}
101
+ if ( empty( $data['general']['uninstall'] ) ) {
102
+ $data['general']['uninstall'] = false;
103
+ }
104
105
$to_save = array_merge( $options->get_all(), $data );
106
src/Admin/Pages/Settings.php CHANGED
@@ -42,7 +42,7 @@ class Settings extends PageAbstract {
42
$mailer = $options->get( 'mail', 'mailer' );
43
?>
44
45
- <form method="POST" action="">
46
<?php $this->wp_nonce_field(); ?>
47
48
<!-- Mail Section Title -->
@@ -62,19 +62,30 @@ class Settings extends PageAbstract {
62
value="<?php echo esc_attr( $options->get( 'mail', 'from_email' ) ); ?>"
63
<?php echo $options->is_const_defined( 'mail', 'from_email' ) ? 'disabled' : ''; ?>
64
id="wp-mail-smtp-setting-from_email" spellcheck="false"
65
- />
66
<p class="desc">
67
- <?php esc_html_e( 'You can specify the email address that emails should be sent from.', 'wp-mail-smtp' ); ?><br/>
68
- <?php
69
- printf(
70
- /* translators: %s - default email address. */
71
- esc_html__( 'If you leave this blank, the default one will be used: %s.', 'wp-mail-smtp' ),
72
- '<code>' . wp_mail_smtp()->get_processor()->get_default_email() . '</code>'
73
- );
74
- ?>
75
</p>
76
<p class="desc">
77
- <?php esc_html_e( 'Please note if you are sending using an email provider (Gmail, Yahoo, Hotmail, Outlook.com, etc) this setting should be your email address for that account.', 'wp-mail-smtp' ); ?>
78
</p>
79
</div>
80
</div>
@@ -89,16 +100,25 @@ class Settings extends PageAbstract {
89
value="<?php echo esc_attr( $options->get( 'mail', 'from_name' ) ); ?>"
90
<?php echo $options->is_const_defined( 'mail', 'from_name' ) ? 'disabled' : ''; ?>
91
id="wp-mail-smtp-setting-from_name" spellcheck="false"
92
- />
93
<p class="desc">
94
- <?php esc_html_e( 'You can specify the name that emails should be sent from.', 'wp-mail-smtp' ); ?><br/>
95
- <?php
96
- printf(
97
- /* translators: %s - WordPress. */
98
- esc_html__( 'If you leave this blank, the emails will be sent from %s.', 'wp-mail-smtp' ),
99
- '<code>WordPress</code>'
100
- );
101
- ?>
102
</p>
103
</div>
104
</div>
@@ -145,11 +165,12 @@ class Settings extends PageAbstract {
145
<input name="wp-mail-smtp[mail][return_path]" type="checkbox"
146
value="true" <?php checked( true, (bool) $options->get( 'mail', 'return_path' ) ); ?>
147
<?php echo $options->is_const_defined( 'mail', 'return_path' ) ? 'disabled' : ''; ?>
148
- id="wp-mail-smtp-setting-return_path"
149
- />
150
<label for="wp-mail-smtp-setting-return_path">
151
<?php esc_html_e( 'Set the return-path to match the From Email', 'wp-mail-smtp' ); ?>
152
</label>
153
<p class="desc">
154
<?php esc_html_e( 'Return Path indicates where non-delivery receipts - or bounce messages - are to be sent.', 'wp-mail-smtp' ); ?><br/>
155
<?php esc_html_e( 'If unchecked bounce messages may be lost.', 'wp-mail-smtp' ); ?>
@@ -187,6 +208,115 @@ class Settings extends PageAbstract {
187
188
</form>
189
190
<?php
191
}
192
@@ -201,6 +331,12 @@ class Settings extends PageAbstract {
201
$old_opt = $options->get_all();
202
203
// When checkbox is unchecked - it's not submitted at all, so we need to define its default false value.
204
if ( ! isset( $data['mail']['return_path'] ) ) {
205
$data['mail']['return_path'] = false;
206
}
42
$mailer = $options->get( 'mail', 'mailer' );
43
?>
44
45
+ <form method="POST" action="" autocomplete="off">
46
<?php $this->wp_nonce_field(); ?>
47
48
<!-- Mail Section Title -->
62
value="<?php echo esc_attr( $options->get( 'mail', 'from_email' ) ); ?>"
63
<?php echo $options->is_const_defined( 'mail', 'from_email' ) ? 'disabled' : ''; ?>
64
id="wp-mail-smtp-setting-from_email" spellcheck="false"
65
+ placeholder="<?php echo esc_attr( wp_mail_smtp()->get_processor()->get_default_email() ); ?>">
66
+
67
+ <p class="desc">
68
+ <?php esc_html_e( 'The email address which emails are sent from.', 'wp-mail-smtp' ); ?><br/>
69
+ <?php esc_html_e( 'If you using an email provider (Gmail, Yahoo, Outlook.com, etc) this should be your email address for that account.', 'wp-mail-smtp' ); ?>
70
+ </p>
71
+
72
<p class="desc">
73
+ <?php esc_html_e( 'Please note that other plugins can change this, to prevent this use the setting below.', 'wp-mail-smtp' ); ?>
74
</p>
75
+
76
+ <hr class="wp-mail-smtp-setting-mid-row-sep">
77
+
78
+ <input name="wp-mail-smtp[mail][from_email_force]" type="checkbox"
79
+ value="true" <?php checked( true, (bool) $options->get( 'mail', 'from_email_force' ) ); ?>
80
+ <?php echo $options->is_const_defined( 'mail', 'from_email_force' ) ? 'disabled' : ''; ?>
81
+ id="wp-mail-smtp-setting-from_email_force">
82
+
83
+ <label for="wp-mail-smtp-setting-from_email_force">
84
+ <?php esc_html_e( 'Force From Email', 'wp-mail-smtp' ); ?>
85
+ </label>
86
+
87
<p class="desc">
88
+ <?php esc_html_e( 'If checked, the From Email setting above will be used for all emails, ignoring values set by other plugins.', 'wp-mail-smtp' ); ?>
89
</p>
90
</div>
91
</div>
100
value="<?php echo esc_attr( $options->get( 'mail', 'from_name' ) ); ?>"
101
<?php echo $options->is_const_defined( 'mail', 'from_name' ) ? 'disabled' : ''; ?>
102
id="wp-mail-smtp-setting-from_name" spellcheck="false"
103
+ placeholder="<?php echo esc_attr( wp_mail_smtp()->get_processor()->get_default_name() ); ?>">
104
+
105
+ <p class="desc">
106
+ <?php esc_html_e( 'The name which emails are sent from.', 'wp-mail-smtp' ); ?>
107
+ </p>
108
+
109
+ <hr class="wp-mail-smtp-setting-mid-row-sep">
110
+
111
+ <input name="wp-mail-smtp[mail][from_name_force]" type="checkbox"
112
+ value="true" <?php checked( true, (bool) $options->get( 'mail', 'from_name_force' ) ); ?>
113
+ <?php echo $options->is_const_defined( 'mail', 'from_name_force' ) ? 'disabled' : ''; ?>
114
+ id="wp-mail-smtp-setting-from_name_force">
115
+
116
+ <label for="wp-mail-smtp-setting-from_name_force">
117
+ <?php esc_html_e( 'Force From Name', 'wp-mail-smtp' ); ?>
118
+ </label>
119
+
120
<p class="desc">
121
+ <?php esc_html_e( 'If checked, the From Name setting above will be used for all emails, ignoring values set by other plugins.', 'wp-mail-smtp' ); ?>
122
</p>
123
</div>
124
</div>
165
<input name="wp-mail-smtp[mail][return_path]" type="checkbox"
166
value="true" <?php checked( true, (bool) $options->get( 'mail', 'return_path' ) ); ?>
167
<?php echo $options->is_const_defined( 'mail', 'return_path' ) ? 'disabled' : ''; ?>
168
+ id="wp-mail-smtp-setting-return_path">
169
+
170
<label for="wp-mail-smtp-setting-return_path">
171
<?php esc_html_e( 'Set the return-path to match the From Email', 'wp-mail-smtp' ); ?>
172
</label>
173
+
174
<p class="desc">
175
<?php esc_html_e( 'Return Path indicates where non-delivery receipts - or bounce messages - are to be sent.', 'wp-mail-smtp' ); ?><br/>
176
<?php esc_html_e( 'If unchecked bounce messages may be lost.', 'wp-mail-smtp' ); ?>
208
209
</form>
210
211
+ <?php
212
+ $this->display_wpforms();
213
+ }
214
+
215
+ /**
216
+ * Display a WPForms-related message.
217
+ *
218
+ * @since 1.3.0
219
+ */
220
+ protected function display_wpforms() {
221
+
222
+ // Do not display if WPForms Pro already installed.
223
+ if ( class_exists( 'WPForms_Pro', false ) ) {
224
+ return;
225
+ }
226
+
227
+ $is_dismissed = get_user_meta( get_current_user_id(), 'wp_mail_smtp_wpforms_dismissed', true );
228
+
229
+ // Do not display if user dismissed.
230
+ if ( (bool) $is_dismissed === true ) {
231
+ return;
232
+ }
233
+ ?>
234
+
235
+ <div id="wp-mail-smtp-wpforms">
236
+
237
+ <span class="wp-mail-smtp-wpforms-dismiss">
238
+ <button id="wp-mail-smtp-wpforms-dismiss">
239
+ <span class="dashicons dashicons-dismiss"></span>
240
+ </button>
241
+ </span>
242
+
243
+ <h2>
244
+ <?php esc_html_e( 'Get WPForms Pro and Support WP Mail SMTP', 'wp-mail-smtp' ); ?>
245
+ </h2>
246
+
247
+ <p>
248
+ <?php esc_html_e( 'WP Mail SMTP is a free plugin, and the team behind WPForms maintain it to give back to the WordPress community.', 'wp-mail-smtp' ); ?>
249
+ </p>
250
+
251
+ <p>
252
+ <?php
253
+ printf(
254
+ wp_kses(
255
+ /* translators: %s - WPForms.com URL. */
256
+ __( 'Please consider supporting us by <a href="%s" target="_blank" rel="noopener noreferrer">purchasing a WPForms Pro license</a>. Aside from getting access to the best drag & drop WordPress form builder plugin, your purchase will help us continue to maintain and add new features to the WP Mail SMTP plugin while keeping this SMTP plugin free for the larger WordPress community.', 'wp-mail-smtp' ),
257
+ array(
258
+ 'a' => array(
259
+ 'href' => array(),
260
+ 'target' => array(),
261
+ 'rel' => array(),
262
+ ),
263
+ )
264
+ ),
265
+ 'https://wpforms.com/?discount=THANKYOU&utm_source=WordPress&utm_medium=settings-cta&utm_campaign=smtpplugin'
266
+ );
267
+ ?>
268
+ </p>
269
+
270
+ <p>
271
+ <?php
272
+ printf(
273
+ /* translators: %s - link to WP.org repo and 5 HTML encoded stars as a label. */
274
+ esc_html__( 'We know that you will truly love WPForms. It has over 2000+ five star ratings (%s) and is active on over 1 million websites.', 'wp-mail-smtp' ),
275
+ '<a href="https://wordpress.org/support/plugin/wpforms-lite/reviews/?filter=5" target="_blank" rel="noopener noreferrer" class="stars"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></a>'
276
+ );
277
+ ?>
278
+ </p>
279
+
280
+ <p><strong><?php esc_html_e( 'Other Benefits:', 'wp-mail-smtp' ); ?></strong></p>
281
+
282
+ <div class="benefits">
283
+ <ul>
284
+ <li><?php esc_html_e( 'Access to premium support for WP Mail SMTP', 'wp-mail-smtp' ); ?></li>
285
+ <li><?php esc_html_e( 'Get the best drag & drop form builder', 'wp-mail-smtp' ); ?></li>
286
+ <li><?php esc_html_e( 'All form features like file upload, pagination, etc', 'wp-mail-smtp' ); ?></li>
287
+ <li><?php esc_html_e( 'Create surveys & polls with the surveys addon', 'wp-mail-smtp' ); ?></li>
288
+ </ul>
289
+ <ul>
290
+ <li><?php esc_html_e( 'No future ads inside WP Mail SMTP admin', 'wp-mail-smtp' ); ?></li>
291
+ <li><?php esc_html_e( 'Pre-made form templates and smart conditional logic', 'wp-mail-smtp' ); ?></li>
292
+ <li><?php esc_html_e( '500+ integrations with different marketing & payment services', 'wp-mail-smtp' ); ?></li>
293
+ <li><?php esc_html_e( 'Collect signatures, geo-location data, and more', 'wp-mail-smtp' ); ?></li>
294
+ </ul>
295
+ </div>
296
+
297
+ <p>
298
+ <?php
299
+ printf(
300
+ wp_kses(
301
+ /* translators: %1$s - WPForms.com URL, %2$s - percents off. */
302
+ __( '<a href="%1$s" target="_blank" rel="noopener noreferrer">Get WPForms Pro and support WP Mail SMTP</a> - use coupon "<strong>thankyou</strong>" to save %2$s off your purchase.', 'wp-mail-smtp' ),
303
+ array(
304
+ 'a' => array(
305
+ 'href' => array(),
306
+ 'target' => array(),
307
+ 'rel' => array(),
308
+ ),
309
+ 'strong' => array(),
310
+ )
311
+ ),
312
+ 'https://wpforms.com/?discount=THANKYOU&utm_source=WordPress&utm_medium=settings-cta&utm_campaign=smtpplugin',
313
+ '20%'
314
+ );
315
+ ?>
316
+ </p>
317
+
318
+ </div>
319
+
320
<?php
321
}
322
331
$old_opt = $options->get_all();
332
333
// When checkbox is unchecked - it's not submitted at all, so we need to define its default false value.
334
+ if ( ! isset( $data['mail']['from_email_force'] ) ) {
335
+ $data['mail']['from_email_force'] = false;
336
+ }
337
+ if ( ! isset( $data['mail']['from_name_force'] ) ) {
338
+ $data['mail']['from_name_force'] = false;
339
+ }
340
if ( ! isset( $data['mail']['return_path'] ) ) {
341
$data['mail']['return_path'] = false;
342
}
src/Admin/Pages/Test.php CHANGED
@@ -20,6 +20,15 @@ class Test extends PageAbstract {
20
*/
21
protected $slug = 'test';
22
23
/**
24
* @inheritdoc
25
*/
@@ -56,7 +65,7 @@ class Test extends PageAbstract {
56
<label for="wp-mail-smtp-setting-test_email"><?php esc_html_e( 'Send To', 'wp-mail-smtp' ); ?></label>
57
</div>
58
<div class="wp-mail-smtp-setting-field">
59
- <input name="wp-mail-smtp[test_email]" type="email" id="wp-mail-smtp-setting-test_email" spellcheck="false" required />
60
<p class="desc">
61
<?php esc_html_e( 'Type an email address here and then click a button below to generate a test email.', 'wp-mail-smtp' ); ?>
62
</p>
@@ -69,6 +78,7 @@ class Test extends PageAbstract {
69
</form>
70
71
<?php
72
}
73
74
/**
@@ -116,7 +126,6 @@ class Test extends PageAbstract {
116
)
117
);
118
119
- // Grab the smtp debugging output.
120
$smtp_debug = ob_get_clean();
121
122
/*
@@ -128,14 +137,10 @@ class Test extends PageAbstract {
128
WP::ADMIN_NOTICE_SUCCESS
129
);
130
} else {
131
- $error = $this->get_debug_messages( $phpmailer, $smtp_debug );
132
-
133
- WP::add_admin_notice(
134
- '<p><strong>' . esc_html__( 'There was a problem while sending a test email. Related debugging output is shown below:', 'wp-mail-smtp' ) . '</strong></p>' .
135
- '<blockquote style="border-left:1px solid orange;padding-left:10px">' . $error . '</blockquote>' .
136
- '<p class="description">' . esc_html__( 'Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues.', 'wp-mail-smtp' ) . '</p>',
137
- WP::ADMIN_NOTICE_ERROR
138
- );
139
}
140
}
141
@@ -153,6 +158,8 @@ class Test extends PageAbstract {
153
154
$options = new Options();
155
156
/*
157
* Versions Debug.
158
*/
@@ -170,11 +177,11 @@ class Test extends PageAbstract {
170
171
$mailer_text = '<strong>Params:</strong><br>';
172
173
- $mailer_text .= '<strong>Mailer:</strong> ' . $options->get( 'mail', 'mailer' ) . '<br>';
174
$mailer_text .= '<strong>Constants:</strong> ' . ( $options->is_const_enabled() ? 'Yes' : 'No' ) . '<br>';
175
176
// Display different debug info based on the mailer.
177
- $mailer = wp_mail_smtp()->get_providers()->get_mailer( $options->get( 'mail', 'mailer' ), $phpmailer );
178
179
if ( $mailer ) {
180
$mailer_text .= $mailer->get_debug_info();
@@ -198,7 +205,7 @@ class Test extends PageAbstract {
198
if ( $options->is_mailer_smtp() ) {
199
$smtp_text = '<strong>SMTP Debug:</strong><br>';
200
if ( ! empty( $smtp_debug ) ) {
201
- $smtp_text .= esc_textarea( $smtp_debug );
202
} else {
203
$smtp_text .= '[empty]';
204
}
@@ -213,4 +220,631 @@ class Test extends PageAbstract {
213
214
return '<pre>' . implode( '<br>', array_filter( $errors ) ) . '</pre>';
215
}
216
}
20
*/
21
protected $slug = 'test';
22
23
+ /**
24
+ * Mailer debug error data.
25
+ *
26
+ * @since 1.3.0
27
+ *
28
+ * @var array
29
+ */
30
+ private $debug = array();
31
+
32
/**
33
* @inheritdoc
34
*/
65
<label for="wp-mail-smtp-setting-test_email"><?php esc_html_e( 'Send To', 'wp-mail-smtp' ); ?></label>
66
</div>
67
<div class="wp-mail-smtp-setting-field">
68
+ <input name="wp-mail-smtp[test_email]" type="email" id="wp-mail-smtp-setting-test_email" spellcheck="false" required>
69
<p class="desc">
70
<?php esc_html_e( 'Type an email address here and then click a button below to generate a test email.', 'wp-mail-smtp' ); ?>
71
</p>
78
</form>
79
80
<?php
81
+ $this->display_debug_details();
82
}
83
84
/**
126
)
127
);
128
129
$smtp_debug = ob_get_clean();
130
131
/*
137
WP::ADMIN_NOTICE_SUCCESS
138
);
139
} else {
140
+ // Grab the smtp debugging output.
141
+ $this->debug['smtp_debug'] = $smtp_debug;
142
+ $this->debug['smtp_error'] = wp_strip_all_tags( $phpmailer->ErrorInfo );
143
+ $this->debug['error_log'] = $this->get_debug_messages( $phpmailer, $this->debug['smtp_debug'] );
144
}
145
}
146
158
159
$options = new Options();
160
161
+ $this->debug['mailer'] = $options->get( 'mail', 'mailer' );
162
+
163
/*
164
* Versions Debug.
165
*/
177
178
$mailer_text = '<strong>Params:</strong><br>';
179
180
+ $mailer_text .= '<strong>Mailer:</strong> ' . $this->debug['mailer'] . '<br>';
181
$mailer_text .= '<strong>Constants:</strong> ' . ( $options->is_const_enabled() ? 'Yes' : 'No' ) . '<br>';
182
183
// Display different debug info based on the mailer.
184
+ $mailer = wp_mail_smtp()->get_providers()->get_mailer( $this->debug['mailer'], $phpmailer );
185
186
if ( $mailer ) {
187
$mailer_text .= $mailer->get_debug_info();
205
if ( $options->is_mailer_smtp() ) {
206
$smtp_text = '<strong>SMTP Debug:</strong><br>';
207
if ( ! empty( $smtp_debug ) ) {
208
+ $smtp_text .= '<pre>' . $smtp_debug . '</pre>';
209
} else {
210
$smtp_text .= '[empty]';
211
}
220
221
return '<pre>' . implode( '<br>', array_filter( $errors ) ) . '</pre>';
222
}
223
+
224
+ /**
225
+ * Returns debug information for detection, processing, and display.
226
+ *
227
+ * @since 1.3.0
228
+ *
229
+ * @return array
230
+ */
231
+ protected function get_debug_details() {
232
+
233
+ $options = new Options();
234
+ $smtp_host = $options->get( 'smtp', 'host' );
235
+ $smtp_port = $options->get( 'smtp', 'port' );
236
+ $smtp_encryption = $options->get( 'smtp', 'encryption' );
237
+
238
+ $details = array(
239
+ // [any] - cURL error 60/77.
240
+ array(
241
+ 'mailer' => 'any',
242
+ 'errors' => array(
243
+ array( 'cURL error 60' ),
244
+ array( 'cURL error 77' ),
245
+ ),
246
+ 'description' => array(
247
+ '<strong>' . esc_html__( 'SSL certificate issue.', 'wp-mail-smtp' ) . '</strong>',
248
+ esc_html__( 'This means your web server cannot reliably make secure connections (make requests to HTTPS sites).', 'wp-mail-smtp' ),
249
+ esc_html__( 'Typically this error is returned when web server is not configured properly.', 'wp-mail-smtp' ),
250
+ ),
251
+ 'steps' => array(
252
+ esc_html__( 'Contact your web hosting provider and inform them your site has an issue with SSL certificates.', 'wp-mail-smtp' ),
253
+ esc_html__( 'The exact error you can provide them is in the Error log, available at the bottom of this page.', 'wp-mail-smtp' ),
254
+ esc_html__( 'Ask them to resolve the issue then try again.', 'wp-mail-smtp' ),
255
+ ),
256
+ ),
257
+ // [any] - cURL error 6/7.
258
+ array(
259
+ 'mailer' => 'any',
260
+ 'errors' => array(
261
+ array( 'cURL error 6' ),
262
+ array( 'cURL error 7' ),
263
+ ),
264
+ 'description' => array(
265
+ '<strong>' . esc_html__( 'Could not connect to host.', 'wp-mail-smtp' ) . '</strong>',
266
+ sprintf(
267
+ /* translators: %s - SMTP host address. */
268
+ esc_html__( 'This means your web server was unable to connect to %s.', 'wp-mail-smtp' ),
269
+ $smtp_host
270
+ ),
271
+ esc_html__( 'Typically this error is returned your web server is blocking the connections or the SMTP host denying the request.', 'wp-mail-smtp' ),
272
+ ),
273
+ 'steps' => array(
274
+ sprintf(
275
+ /* translators: %s - SMTP host address. */
276
+ esc_html__( 'Contact your web hosting provider and ask them to verify your server can connect to %s. Additionally, ask them if a firewall or security policy may be preventing the connection.', 'wp-mail-smtp' ),
277
+ $smtp_host
278
+ ),
279
+ esc_html__( 'If using "Other SMTP" Mailer, triple check your SMTP settings including host address, email, and password.', 'wp-mail-smtp' ),
280
+ esc_html__( 'If using "Other SMTP" Mailer, contact your SMTP host to confirm they are accepting outside connections with the settings you have configured (address, username, port, security, etc).', 'wp-mail-smtp' ),
281
+ ),
282
+ ),
283
+ // [any] - cURL error XX (other).
284
+ array(
285
+ 'mailer' => 'any',
286
+ 'errors' => array(
287
+ array( 'cURL error' ),
288
+ ),
289
+ 'description' => array(
290
+ '<strong>' . esc_html__( 'Could not connect to your host.', 'wp-mail-smtp' ) . '</strong>',
291
+ sprintf(
292
+ /* translators: %s - SMTP host address. */
293
+ esc_html__( 'This means your web server was unable to connect to %s.', 'wp-mail-smtp' ),
294
+ $smtp_host
295
+ ),
296
+ esc_html__( 'Typically this error is returned when web server is not configured properly.', 'wp-mail-smtp' ),
297
+ ),
298
+ 'steps' => array(
299
+ esc_html__( 'Contact your web hosting provider and inform them you are having issues making outbound connections.', 'wp-mail-smtp' ),
300
+ esc_html__( 'The exact error you can provide them is in the Error log, available at the bottom of this page.', 'wp-mail-smtp' ),
301
+ esc_html__( 'Ask them to resolve the issue then try again.', 'wp-mail-smtp' ),
302
+ ),
303
+ ),
304
+ // [smtp] - SMTP Error: Count not authenticate.
305
+ array(
306
+ 'mailer' => 'smtp',
307
+ 'errors' => array(
308
+ array( 'SMTP Error: Could not authenticate.' ),
309
+ ),
310
+ 'description' => array(
311
+ '<strong>' . esc_html__( 'Could not authenticate your SMTP account.', 'wp-mail-smtp' ) . '</strong>',
312
+ esc_html__( 'This means we were able to connect to your SMTP host, but were not able to proceed using the email/password in the settings.', 'wp-mail-smtp' ),
313
+ esc_html__( 'Typically this error is returned when the email or password is not correct or is not what the SMTP host is expecting.', 'wp-mail-smtp' ),
314
+ ),
315
+ 'steps' => array(
316
+ esc_html__( 'Triple check your SMTP settings including host address, email, and password. If you have recently reset your password you will need to update the settings.', 'wp-mail-smtp' ),
317
+ esc_html__( 'Contact your SMTP host to confirm you are using the correct username and password.', 'wp-mail-smtp' ),
318
+ esc_html__( 'Verify with your SMTP host that your account has permissions to send emails using outside connections.', 'wp-mail-smtp' ),
319
+ ),
320
+ ),
321
+ // [smtp] - Sending bulk email, hitting rate limit.
322
+ array(
323
+ 'mailer' => 'smtp',
324
+ 'errors' => array(
325
+ array( 'We do not authorize the use of this system to transport unsolicited' ),
326
+ ),
327
+ 'description' => array(
328
+ '<strong>' . esc_html__( 'Error due to unsolicited and/or bulk e-mail.', 'wp-mail-smtp' ) . '</strong>',
329
+ esc_html__( 'This means the connection to your SMTP host was made successfully, but the host rejected the email.', 'wp-mail-smtp' ),
330
+ esc_html__( 'Typically this error is returned when your are sending too many e-mails or e-mails that have been identified as spam.', 'wp-mail-smtp' ),
331
+ ),
332
+ 'steps' => array(
333
+ esc_html__( 'Check the emails that are sending are sending individually. Example: email is not sending to 30 recipients. You can install any WordPress e-mail logging plugin to do that.', 'wp-mail-smtp' ),
334
+ esc_html__( 'Contact your SMTP host to ask about sending/rate limits.', 'wp-mail-smtp' ),
335
+ esc_html__( 'Verify with them your SMTP account is in good standing and your account has not been flagged.', 'wp-mail-smtp' ),
336
+ ),
337
+ ),
338
+ // [smtp] - Unauthenticated senders not allowed.
339
+ array(
340
+ 'mailer' => 'smtp',
341
+ 'errors' => array(
342
+ array( 'Unauthenticated senders not allowed' ),
343
+ ),
344
+ 'description' => array(
345
+ '<strong>' . esc_html__( 'Unauthenticated senders are not allowed.', 'wp-mail-smtp' ) . '</strong>',
346
+ esc_html__( 'This means the connection to your SMTP host was made successfully, but you should enable Authentication and provide correct Username and Password.', 'wp-mail-smtp' ),
347
+ ),
348
+ 'steps' => array(
349
+ esc_html__( 'Go to WP Mail SMTP plugin Settings page.', 'wp-mail-smtp' ),
350
+ esc_html__( 'Enable Authentication', 'wp-mail-smtp' ),
351
+ esc_html__( 'Enter correct SMTP Username (usually this is an email address) and Password in the appropriate fields.', 'wp-mail-smtp' ),
352
+ ),
353
+ ),
354
+ // [smtp] - SMTP connect() failed.
355
+ array(
356
+ 'mailer' => 'smtp',
357
+ 'errors' => array(
358
+ array( 'SMTP connect() failed' ),
359
+ ),
360
+ 'description' => array(
361
+ '<strong>' . esc_html__( 'Could not connect to the SMTP host.', 'wp-mail-smtp' ) . '</strong>',
362
+ sprintf(
363
+ /* translators: %s - SMTP host address. */
364
+ esc_html__( 'This means your web server was unable to connect to %s.', 'wp-mail-smtp' ),
365
+ $smtp_host
366
+ ),
367
+ esc_html__( 'Typically this error is returned for one of the following reasons:', 'wp-mail-smtp' ),
368
+ '-' . esc_html__( 'SMTP settings are incorrect (wrong port, security setting, incorrect host).', 'wp-mail-smtp' ) . '<br>' .
369
+ '-' . esc_html__( 'Your web server is blocking the connection.', 'wp-mail-smtp' ) . '<br>' .
370
+ '-' . esc_html__( 'Your SMTP host is rejecting the connection.', 'wp-mail-smtp' ),
371
+ ),
372
+ 'steps' => array(
373
+ esc_html__( 'Triple check your SMTP settings including host address, email, and password, port, and security.', 'wp-mail-smtp' ),
374
+ sprintf(
375
+ wp_kses(
376
+ /* translators: %1$s - SMTP host address, %2$s - SMTP port, %3$s - SMTP encryption. */
377
+ __( 'Contact your web hosting provider and ask them to verify your server can connect to %1$s on port %2$s using %3$s encryption. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.<br><strong>Note: this is the most common cause of this issue.</strong>', 'wp-mail-smtp' ),
378
+ array(
379
+ 'a' => array(
380
+ 'href' => array(),
381
+ 'rel' => array(),
382
+ 'target' => array(),
383
+ ),
384
+ 'strong' => array(),
385
+ 'br' => array(),
386
+ )
387
+ ),
388
+ $smtp_host,
389
+ $smtp_port,
390
+ 'none' === $smtp_encryption ? esc_html__( 'no', 'wp-mail-smtp' ) : $smtp_encryption
391
+ ),
392
+ esc_html__( 'Contact your SMTP host to confirm you are using the correct username and password.', 'wp-mail-smtp' ),
393
+ esc_html__( 'Verify with your SMTP host that your account has permissions to send emails using outside connections.', 'wp-mail-smtp' ),
394
+ ),
395
+ ),
396
+ // [mailgun] - Forbidden.
397
+ array(
398
+ 'mailer' => 'mailgun',
399
+ 'errors' => array(
400
+ array( 'Forbidden' ),
401
+ ),
402
+ 'description' => array(
403
+ '<strong>' . esc_html__( 'Mailgun failed.', 'wp-mail-smtp' ) . '</strong>',
404
+ esc_html__( 'Typically this error is because there is an issue with your Mailgun settings, in many cases the API key.', 'wp-mail-smtp' ),
405
+ ),
406
+ 'steps' => array(
407
+ esc_html__( 'Verify your API key is correct.', 'wp-mail-smtp' ),
408
+ esc_html__( 'Go to your Mailgun account and view your API key.', 'wp-mail-smtp' ),
409
+ esc_html__( 'Note that the API key includes the "key" prefix, so make sure that it is in the WP Mail SMTP Mailgun API setting.', 'wp-mail-smtp' ),
410
+ ),
411
+ ),
412
+ // [mailgun] - Free accounts are for test purposes only.
413
+ array(
414
+ 'mailer' => 'mailgun',
415
+ 'errors' => array(
416
+ array( 'Free accounts are for test purposes only' ),
417
+ ),
418
+ 'description' => array(
419
+ '<strong>' . esc_html__( 'Mailgun failed.', 'wp-mail-smtp' ) . '</strong>',
420
+ esc_html__( 'Your Mailgun account does not have access to send emails.', 'wp-mail-smtp' ),
421
+ esc_html__( 'Typically this error is because you have not setup and/or complete domain name verification for your Mailgun account.', 'wp-mail-smtp' ),
422
+ ),
423
+ 'steps' => array(
424
+ sprintf(
425
+ wp_kses(
426
+ /* translators: %s - Mailgun documentation URL. */
427
+ __( 'Go to our how-to guide for setting up <a href="%s" target="_blank" rel="noopener noreferrer">Mailgun with WP Mail SMTP</a>.', 'wp-mail-smtp' ),
428
+ array(
429
+ 'a' => array(
430
+ 'href' => array(),
431
+ 'rel' => array(),
432
+ 'target' => array(),
433
+ ),
434
+ )
435
+ ),
436
+ 'https://wpforms.com/how-to-send-wordpress-emails-with-mailgun/'
437
+ ),
438
+ esc_html__( 'Complete the steps in section "2. Verify Your Domain".', 'wp-mail-smtp' ),
439
+ ),
440
+ ),
441
+ // [gmail] - 401: Login Required.
442
+ array(
443
+ 'mailer' => 'gmail',
444
+ 'errors' => array(
445
+ array( '401', 'Login Required' ),
446
+ ),
447
+ 'description' => array(
448
+ '<strong>' . esc_html__( 'Google API Error.', 'wp-mail-smtp' ) . '</strong>',
449
+ esc_html__( 'You have not properly configured Gmail mailer.', 'wp-mail-smtp' ),
450
+ esc_html__( 'Make sure that you have clicked the "Allow plugin to send emails using your Google account" button under Gmail settings.', 'wp-mail-smtp' ),
451
+ ),
452
+ 'steps' => array(
453
+ esc_html__( 'Go to plugin Settings page and click the "Allow plugin to send emails using your Google account" button.', 'wp-mail-smtp' ),
454
+ esc_html__( 'After the click you should be redirected to a Gmail authorization screen, where you will be asked a permission to send emails on your behalf.', 'wp-mail-smtp' ),
455
+ esc_html__( 'Please click "Agree", if you see that button. If not - you will need to enable less secure apps first:', 'wp-mail-smtp' )
456
+ . '<ul>'
457
+ . '<li>' .
458
+ sprintf(
459
+ wp_kses(
460
+ /* translators: %s - Google support article URL. */
461
+ __( 'if you are using regular Gmail account, please <a href="%s" target="_blank" rel="noopener noreferrer">read this article</a> to proceed.', 'wp-mail-smtp' ),
462
+ array(
463
+ 'a' => array(
464
+ 'href' => array(),
465
+ 'target' => array(),
466
+ 'rel' => array(),
467
+ ),
468
+ )
469
+ ),
470
+ 'https://support.google.com/accounts/answer/6010255?hl=en'
471
+ )
472
+ . '</li>'
473
+ . '<li>' .
474
+ sprintf(
475
+ wp_kses(
476
+ /* translators: %s - Google support article URL. */
477
+ __( 'if you are using G Suite, please <a href="%s" target="_blank" rel="noopener noreferrer">read this article</a> to proceed.', 'wp-mail-smtp' ),
478
+ array(
479
+ 'a' => array(
480
+ 'href' => array(),
481
+ 'target' => array(),
482
+ 'rel' => array(),
483
+ ),
484
+ )
485
+ ),
486
+ 'https://support.google.com/cloudidentity/answer/6260879?hl=en'
487
+ )
488
+ . '</li>'
489
+ . '</ul>',
490
+ ),
491
+ ),
492
+ // [gmail] - 400: Recipient address required.
493
+ array(
494
+ 'mailer' => 'gmail',
495
+ 'errors' => array(
496
+ array( '400', 'Recipient address required' ),
497
+ ),
498
+ 'description' => array(
499
+ '<strong>' . esc_html__( 'Google API Error.', 'wp-mail-smtp' ) . '</strong>',
500
+ esc_html__( 'Typically this error is because address the email was sent to is invalid or was empty.', 'wp-mail-smtp' ),
501
+ ),
502
+ 'steps' => array(
503
+ esc_html__( 'Check the "Send To" email address used and confirm it is a valid email and was not empty.', 'wp-mail-smtp' ),
504
+ sprintf(
505
+ /* translators: 1 - correct email address example. 2 - incorrect email address example. */
506
+ esc_html__( 'It should be something like this: %1$s. These are incorrect values: %2$s.', 'wp-mail-smtp' ),
507
+ '<code>info@example.com</code>',
508
+ '<code>info@localhost</code>, <code>info@192.168.1.1</code>'
509
+ ),
510
+ esc_html__( 'Make sure that the generated email has a TO header, useful when you are responsible for email creation.', 'wp-mail-smtp' ),
511
+ ),
512
+ ),
513
+ // [gmail] - Token has been expired or revoked.
514
+ array(
515
+ 'mailer' => 'gmail',
516
+ 'errors' => array(
517
+ array( 'invalid_grant', 'Token has been expired or revoked' ),
518
+ ),
519
+ 'description' => array(
520
+ '<strong>' . esc_html__( 'Google API Error.', 'wp-mail-smtp' ) . '</strong>',
521
+ esc_html__( 'Unfortunately, this error can be due to many different reasons.', 'wp-mail-smtp' ),
522
+ ),
523
+ 'steps' => array(
524
+ sprintf(
525