Is it possible to send an Email from an Autohosted Sharepoint 2013 app from CSOM code (C#) with an attachment?
I have the following code:
EmailProperties properties = new EmailProperties();
properties.To = new string[] { "[email protected]" };
properties.Subject = "Subject";
properties.Body = "Body";
Microsoft.SharePoint.Client.Utilities.Utility.SendEmail(clientContext, properties);
clientContext.ExecuteQuery();
But how can I send an attachment together with the email?