Title: Loading option wp_mail_smtp
Last modified: August 11, 2024

---

# Loading option wp_mail_smtp

 *  Resolved [peter8nss](https://wordpress.org/support/users/peter8nss/)
 * (@peter8nss)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/loading-option-wp_mail_smtp/)
 * I’m tuning my page load times and I’m seeing the same issues originally reported
   by [https://wordpress.org/support/topic/performance-concern-2/](https://wordpress.org/support/topic/performance-concern-2/).
 * Specifically, option _wp\_mail\_smtp_ is being loaded by an individual call to
   _get\_option_ on every page. The reason for the individual call to _get\_option_
   is because this option has _autoload=off_. Given this option is being loaded 
   for each page, it makes sense to set _autoload=yes_ and let _wp\_load\_alloptions_
   load it.
 * The reason this option is being loaded for each page is because hook _plugs\_loaded
   _is calling _OptimizedEmailSending->hooks_ which in turn calls _OptimizedEmailSending::
   is\_enabled_ which causes the loading of the option.
 * Can I suggest that option _wp\_mail\_smtp_ should default to _autoload=yes_.

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

 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/loading-option-wp_mail_smtp/#post-17949896)
 * Hi there [@peter8nss](https://wordpress.org/support/users/peter8nss/),
 * Thanks for reaching out! We’re checking into this for you. I’ll let you know 
   when I have more information.
 * Thanks!
 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/loading-option-wp_mail_smtp/#post-17958442)
 * Hi there [@peter8nss](https://wordpress.org/support/users/peter8nss/),
 * Our developers are looking into making such an adjustment. They have further 
   testing to do, but if it does become a change we apply, we’ll push it out through
   an update to the plugin. I can’t say if or when that may happen though, but it
   is something they’re looking into.
 * I hope that helps! Have a great day!

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

The topic ‘Loading option wp_mail_smtp’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/dpinson/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/loading-option-wp_mail_smtp/#post-17958442)
 * Status: resolved