I try to use the system server action 'StartUpdateEmail'. But I get never a response (verificationcode). Is there someone who used already this server action?
What I also not understand is this: There is one incoming parameter for the action, the new email address. How can the system know which user it is referring to?
Hello.
Unlike ChangePassword, to update an email address you need to be logged in. So the user is known on the system. It only asks for the email as that is the new information.
About the email not arriving:
-are you logged in?
-is SMTP set?
-have you looked at the email logs?
Hello Nuno
I'am logged in. But also for the changepassword in that action the newpassword, oldpassword and username is asked as parameters.
And why is the startupdateemail a server action and the finishupdateemail a client action?
I was thinking in the ForgotPassword.
In ChangePassword makes sense to ask. You need username to encrypt password. With it you can also validate previous password. Asking for all three values allows you to use it logged out, and is not much trouble when logged in. I could think in better alternatives, but understand the choice.
I made the same question in 2023. Probably heard a reason, but can't think of a logical reason for that distinction.
Emails are not anymore logged in ODC
Hi @Danny Eeraerts ,
As @Nuno Reis suggested, Logged in user can update their email address. You will get a code and pass it to the FinishUpdateEmail Client action.
Also the Server action has a failure reason you can check it.
additional info - For StartUpdateEmail- "Triggers the update email operation for logged-in users that don’t have access to the ODC Portal, returning a verification code that can be sent by email to the user."
Yes email not logged but you can add your log message to verify.
Hi rahul
I under the concept but have you ever try it? I get no response (no verification code) of the action and it goes in error after a while. Nothing is in the failure raison.
Yes , I am using one of the application in same way and its working as expected.let me create sample app for you
See the steps-
When I use the server action 'StartUpdateEmail'. I get always this errors
'OS-CLRT-60900 - The timeout of 10s was reached while executing this server action.'
'OS-BERT-00000 - Error executing action A task was canceled.'
'OS-BERT-00000 - Error executing action No reply received