• Resolved elisah9

    (@elisah9)


    I’ve noticed that some plugins offer an option to let users choose where to store their API keys – either in the wp-config.php file or in the database.

    However, it seems that WP Mail SMTP does not provide such an option.
    So, where exactly are the API keys stored when using WP Mail SMTP?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @elisah9,

    Thanks for reaching out! You can use WP Mail SMTP constants to set your credentials within your wp-config.php file.

    To do that, please review this guide.

    I hope this helps. Thanks!

    Thread Starter elisah9

    (@elisah9)

    Thank you for your reply.

    However, my question is: by default, where does WP Mail SMTP store the API keys?

    Plugin Support Darshana

    (@darshanaw)

    Hi @elisah9,

    Thank you for your follow-up question. By default, WP Mail SMTP stores API keys in your site’s database.

    You can find them in the wp_options table under the option name wp_mail_smtp. If you’ve set constants in the wp-config.php file, those values will override the database settings.

    If you have any other questions, please feel free to let me know. Thank you!

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

The topic ‘API key store location’ is closed to new replies.