Hello @thegulshankumar,
The most likely cause of this is a security plugin (or potentially a server-level setting) that’s periodically changing your WordPress SALT keys. These keys are crucial for securing your WordPress installation, but they also impact how FluentSMTP securely stores your API credentials. When the SALT keys change, FluentSMTP essentially considers the stored credentials invalid and removes them, prompting you to reconfigure your SMTP settings.
To prevent this from happening in the future, I highly recommend saving your FluentSMTP credentials directly within your wp-config.php file. This should ensure they persist even when the SALT keys are regenerated.
After doing this, FluentSMTP will retrieve the credentials directly from the wp-config.php file, bypassing the database and preventing them from being lost during migrations or SALT key changes.
Let me know if you have any other questions or run into any issues during this process.
Understood.
Okay, now I will keep it by defining a constant.