Our company does work environment surveys, and these surveys are filled in online. All participants are sent a link to their survey in an email (personal code included).
There is a good article on Coding Horror that details the process of sending e-mail. In short:
You could also use an external mail sending service like Campaign Monitor, which checks these settings for you.