We implemented email functionality using share contract where for the formatting we are using HTML.
Please help us how we can share the image with the Formatted html content.
We are able to send Formatted html content but failing to insert image.
StorageFile filenME = null;
requestData.SetHtmlFormat(HtmlFormatHelper.CreateHtmlFormat(emailText));
try
{
filenME = await StorageFile.GetFileFromPathAsync("C:\\Users\\admin\\Pictures\\a.png");
}
catch (Exception ex)
{
string str = "";
}
request.Data.ResourceMap["C:\\Users\\admin\\Pictures\\a.png"] = Windows.Storage.Streams.RandomAccessStreamReference.CreateFromFile(filenME);
request.Data = requestData;
throwing an exception
Regard's
Gopalakrishna M