Example source (C#):
string webUrl ="http://sharepoint.example.com/";EmailProperties properties =newEmailProperties();
properties.To=newstring[]{"email@example.com"};
properties.Subject="Test subject";
properties.Body="Test body";ClientContext context =newClientContext(webUrl);Utility.SendEmail(context, properties);
context.ExecuteQuery();// ServerException thrown here
context.Dispose();
Error message:
A recipient must be specified.