Getting error while click Reset Password in the user doctype

Hi all,
when I logged in as a user1 and click on the “Reset Password” button inside “Password” inside the user doctype
it is showing me the below error
error message : “smtplib.SMTPDataError: (550, b’5.7.60 SMTP; Client does not have permissions to send as this sender’)”
the sender of the email is also user1

if anyone knows how to fix this error, please let me know to resolve this error

Hello :wave:,

The error is coming because that user does not have the permission to send the emails.
Give role permissions to that User of Email Account and Communication Doctypes