You can change password of your email account and of the SMTP server by logging into your cPanel. Once you have done that –
a. Select the email accounts for which you need to change the passwords for
b. There will be a Manage button which you have to click for the email account
c. There you have to enter or you can generate a new password
d. After changing the password click on the Update Email Settings button