Title: Scripts Loading on Front End
Last modified: May 15, 2018

---

# Scripts Loading on Front End

 *  Resolved [Sean Thompson](https://wordpress.org/support/users/seanthompson/)
 * (@seanthompson)
 * [8 years ago](https://wordpress.org/support/topic/scripts-loading-on-front-end/)
 * Hi,
 * I found your plugin when the SMTP plugin I was using started having problems.
   I really like the fact that this is a smaller plugin, and the mail started working
   again as soon as I installed and configured it.
 * There are two problems though.
 * 1) The test mail/debug doesn’t seem to work. When I send the test mail with or
   without errors/debug enabled, no mail goes through. (Mail worked fine when I 
   tested my contact form.) When I enable errors/messages There isn’t anything to
   be found anywhere.
 * 2) this plugin loads scripts on the front end including jquery/jquery/migrate.
   The only script that loads on the front end of my site otherwise is on the contact
   page for the form.
 * Enqueued in head…
 *     ```
       <script  data-cfasync="false" src='/wp-includes/js/jquery/jquery.js'></script>
       <script  data-cfasync="false" src='/wp-includes/js/jquery/jquery-migrate.min.js'></script>
       ```
   
 * Enqueued in footer…
 *     ```
       <script type='text/javascript'>
       /* <![CDATA[ */
       var smtpmail_setting = {"savedata":"0"};
       /* ]]> */
       </script>
       <script  src='/wp-content/plugins/smtp-mail/media/smtp.js'></script>
       ```
   
 * I’m not sure why this is needed on the front end. Can I disable this and have
   the plugin still work?
 * Thanks in advance,
    Sean
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscripts-loading-on-front-end%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [photoboxone](https://wordpress.org/support/users/photoboxone/)
 * (@photoboxone)
 * [8 years ago](https://wordpress.org/support/topic/scripts-loading-on-front-end/#post-10285278)
 * Sorry,
 * We update code testing.
 * You can update new version.
 * [https://wordpress.org/plugins/smtp-mail/](https://wordpress.org/plugins/smtp-mail/)
 * Thanks,
    PBO.
 *  Thread Starter [Sean Thompson](https://wordpress.org/support/users/seanthompson/)
 * (@seanthompson)
 * [8 years ago](https://wordpress.org/support/topic/scripts-loading-on-front-end/#post-10294823)
 * Thank you for your quick response on this. The scripts no longer load on front
   end.
 * The test email and debug functions still aren’t working, though. I did test my
   contact form, and emails are working fine.

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

The topic ‘Scripts Loading on Front End’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smtp-mail.svg)
 * [SMTP Mail](https://wordpress.org/plugins/smtp-mail/)
 * [Support Threads](https://wordpress.org/support/plugin/smtp-mail/)
 * [Active Topics](https://wordpress.org/support/plugin/smtp-mail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smtp-mail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smtp-mail/reviews/)

## Tags

 * [front-end](https://wordpress.org/support/topic-tag/front-end/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 2 replies
 * 0 participants
 * Last reply from: [Sean Thompson](https://wordpress.org/support/users/seanthompson/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/scripts-loading-on-front-end/#post-10294823)
 * Status: resolved