Email Sent Twice (Invite as user)

When i press invite as user button it sends two emails to receiver ?whys is that and how can i resolve this?

I tested it multiple times in the latest version 15. It just shows one message.

@NCP i am having this issue in both my local machine and development server . does it have some kind of issue with the way the email is set up ?

There is no problem in email account

@NCP i am now really confused on what could trigger this twice.

No idea, but check the code.

1 Like

@NCP on update they have called this send_password_notification() function and for some reason after the user is being created it is being edited somehow and triggering the email twice while it is created and after being edited.

@NCP

I am also facing the same issue ,

when ever I click on button Invite as User , two time email has been triggered

First link is not use full, it will show the error as mentioned in attachment

Erpnext Version : 14.66

1 Like