32
Views
9
Comments
Change the user email address with verificationcode

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?


2016-04-22 00-29-45
Nuno Reis
 
MVP

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?

2020-09-26 09-10-18
Danny Eeraerts

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?


2016-04-22 00-29-45
Nuno Reis
 
MVP

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.

2020-09-26 09-10-18
Danny Eeraerts

Emails are not anymore logged in ODC


2026-02-26 06-29-24
Rahul
 
MVP

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.


2020-09-26 09-10-18
Danny Eeraerts

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.


2026-02-26 06-29-24
Rahul
 
MVP

Yes , I am using one of the application in same way and its working as expected.
let me create sample app for you


2026-02-26 06-29-24
Rahul
 
MVP

Hi @Danny Eeraerts ,

See the steps- 

  1. User email on portal
  2. Updating User Email
  3. See this action
  4. User updated
  5. Action which I am using.
  6. We are using other SMTP service so i disabled it .

2020-09-26 09-10-18
Danny Eeraerts

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 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.