Send Email to Group of Users Selected in Multi-Select User Lookup Field

Send Email to Group of Users Selected in Multi-Select User Lookup Field

Hi-
Users in Form A select employees in Form B to send emails to.  The email addresses of employees in Form B is set through a user lookup field called Email_Address.
On successful submit of Form A, I'd like to send an email to all employees selected..I have the following script, which is not triggering an error but also is not triggering any emails....does this have something to do with the source of the email address coming from a user lookup field?

  1. for each  r in Employee_Database[ID = input.Assigned_to]
  2. {
  3. sendmail
  4. [
  5. from: zoho.adminuserid
  6. to : r.Email_Address 
  7. subject :"New Project Added"
  8. message :"You have been added to the following project....."
  9. ]
  10. }
  11.