Hi,
I am setting destination users on an activity from code behind in the destination rule.
the problem which I am facing is with the task notification.
Task notifications are not going through.
I am getting an exception saying the string is not in the format of email address.
Similarly in an email event, in the To list, I have provided an repeating xml field which will have names of people but i get the same exception as above.
I debugged the code and found that it fails at this particular line of code
this
.EmailMessage.To.Add(new MailAddress(userEmail));I believe k2 tries to convert the usernames provided in the xml variable directly to email address.
Usernames are provided as domainusername in the xml variable.
Does K2 not do an AD search to get the email address of the user?
Please reply asap as it is becoming a critical issue for my work.
Regards,
Ritesh