NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: lkeyser on December 06, 2021, 05:56:30 AM

Title: Embed point for secwin7 password message
Post by: lkeyser on December 06, 2021, 05:56:30 AM
Hi Everyone
I?m using secwin7 and Nettalk 12.29 mail to reset password in webapp using checklist in the documentation. I can have requested a mail password reset and I receive mail etc. Everything works as expected.
My question is:
How or where do I modify the message that secwin7 generates to send to the user? I don?t seem to find it.
Kind regards
Louis
Title: Re: Embed point for secwin7 password message
Post by: Bruce on December 07, 2021, 06:34:32 AM
the message is generated by the SecwinUserResetPasswordClass class.
So look for the object of that class in the procedure.

The key properties you can adjust are
  resetpassword.SmsText       = 'New Password:'
  resetpassword.EmailSubject  = 'New Password'
  resetpassword.EmailMessage  = 'New Password :'
  resetpassword.FirstHalf     = 'First Half:'
  resetpassword.SecondHalf    = 'Second Half:'

which are defaulted as above.

Cheers
Bruce