Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

send image in workflow mail body

$
0
0

Hi  All,

I have image problem in my workflow mail. Here is a situation

I am using visual studio sendmail activity in workflow. Body of mail is assigned from enhanced rich text field of sharepoint list. everything works well except if there is an image in sp list field. Images are saved in another sp picture library.   

here is my code

  SPList list = workflowProperties.Web.Lists[workflowProperties.Item.ParentList.Title];
                           SPListItem item = list.GetItemById(workflowProperties.Item.ID);
                          mailBody = item["Detail"].ToString();

could anyone help me with this problem. I need to send mail with  image inside.

Please help 

thanks


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>