I have a workflow in visual studio and I need to send an email to a domain user whose name is entered into a sharepoint Person or Group lookup. The value will not be in a sharepoint group, it is from an AD sync:
When I test it using smtp4dev in our dev environment, the email address is coming up strange so I am not sure if it will be sent in the production environment:
7 <7>; #Johnson <#Johnson>; Tim <Tim>
Do I have to do anything to extract the email address from the lookup column?