Software - TimeLOG Web / Synergy WF
not receiving the email notifications when creating new users in the system
If any reseller/partners complains that they are not receiving the email notifications when creating new users in the system, first check the logs:
C:\horio-publishing_UK\Vigatec\Logs\Horio Web\General
2021-06-21 10:24:09.9774 - Error on SendNewUserEmail() for Avi Levy [avil@synel-americas.com]: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) at Horio.Logic.UserService.SendNewUserEmail(User user, String link, String password)
If you see something like above - the issue is related with Language dictionary.
In v4.0.0.0, we have introduced new feature within email notification - either by First name last name or Last name First name
Because of this task, few things in master dictionary has been changed. However for resellers/partners or whoever has custom styling, you must update the following line or else it will keep overriding with old information and hence the error message:
update culturelocalizationkeys set value = N'Dear {0} {1} <br/><br/> Welcome to Vigatec. <br/><br/> Your Username is <b>{3}</b> <br/><br/> Please click on the link below to access system <br/><br/> <a href="{2}">{2}</a> <br/><br/> Regards, <br/><br/> Vigatec Notification System' where keyid = 90667
Must be {0} {1} and {2}, not 3
I have also attached update.sql file from 1 partner in case you need to refer to the items
If successful, it should log it as
2021-06-21 10:34:15.2934 Info - Email 'You are registered to use Vigatec' sent successfully to Levy Avi avil@synel-americas.com
2021-06-21 10:34:31.3644 Info - Email 'You are registered to use Vigatec' sent successfully to Serrano Ramon rserrano@vigatec.cl