Send Email with memo field as "to:" parameter

Hi,

 

I've been trying to use sendEmailActivity function to send email to various users. But whenever i try to put a memo type input as the "to:" parameter, it returns me error below:

 

Failure sending mail.  Object reference not set to an instance of an object. 

 

Is there any way to do this?

Tagged:

Comments