I'm building a website where you can register with an email account.
In your account private section you can find a form where you can change the email address to use when logging in. I wanted this form to send an email to the previous address in the form of "You can no longer use this email address to log in here at blahblah.com, you have to use newaccount@mail.com."
Can I tell to the previous email the new email address, or am I creating a vulnerability?