cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a email in reset password link

0 Kudos
454

Hi,

I need to get a email address of the users in reset password screen set so I tried to pass $email in the URL and I am getting the user's profile.email. But suppose user have two loginIDs among them only one will be in the profile.email so when I am using $email placeholder in the URL I am getting profile.email.

If need to get other email id/loginID means which placeholder I can use in the URL or please suggest any other way to get the email id to which the email was sending to the user.

Thanks in Advance,

Maheswari

View Entire Topic
Oleh_Ilchyshyn
Active Participant

Hi Maheswari,

There aren't other placeholders such as $email to use in the Reset Password template.
And as you mentioned, even if you have 3 different emails, from the URL you can get only lastUpdated(taken from profile.email).
As I know, there aren't any capabilities to catch it using placeholder variables.

Maybe this could be a workaround if you can use an external service to call REST accounts.getAccountInfo:
Extend email template by $UID placeholder. External service could take this UID from WEB SDK and call accounts.getAccountInfo REST with parameter: include->loginIDs and do some actions. But assume it isn't what you are loking for.