If SMTP credentials are not stored securely, they can be exposed to unauthorized users. This can lead to data breaches, unauthorized access to your email server, and even the potential for your server to be used for sending spam emails. Therefore, it’s imperative to follow best practices for storing these credentials.