# How to send email when user password is changed

**URL:** <https://forum.ansible.com/t/how-to-send-email-when-user-password-is-changed/38013>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 19, 2023, 7:15pm UTC](https://forum.ansible.com/t/how-to-send-email-when-user-password-is-changed/38013 "2023-05-19T19:15:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [May 19, 2023, 7:15pm UTC](https://forum.ansible.com/t/how-to-send-email-when-user-password-is-changed/38013/1 "2023-05-19T19:15:49Z")

</div>

Hello,

I have a requirement to send email notification to user after password is changed.

Awx version is 21.5.0 and plans to upgrade to 22.3.0.

if we configure smtp, email will be sent automatically after password is changed?

Any suggestions on how to achieve this? Thank you in advance.

//Venkata

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [May 24, 2023, 6:36pm UTC](https://forum.ansible.com/t/how-to-send-email-when-user-password-is-changed/38013/2 "2023-05-24T18:36:57Z")

</div>

to clarify, you want to send a notification email to the user if their AWX password changes?

AWX Team

---

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [October 3, 2023, 4:29pm UTC](https://forum.ansible.com/t/how-to-send-email-when-user-password-is-changed/38013/3 "2023-10-03T16:29:53Z")

</div>

Yes, as per our security team , we need to send email to a user when the password is changed in UI.

---

<div class="post-metadata">

**Author:** ![Sandeep\_Ajjampur](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sandeep_ajjampur/32/3981_2.png) [@Sandeep\_Ajjampur](https://forum.ansible.com/u/Sandeep_Ajjampur)\
**Post date:** [October 3, 2023, 5:58pm UTC](https://forum.ansible.com/t/how-to-send-email-when-user-password-is-changed/38013/4 "2023-10-03T17:58:23Z")

</div>

Hi Venkat,

one possible solution i think is to use ansible playbook to change the password using awx api and you can send notification through callback plugin or by other email notification.

- Sandeep Ajjamnpur
