SharePoint Images not rendered in custom email -


i sending out html e-mail event receiver hooked pages library. publishingpagecontent field filled html values doesn't render images when email sent outlook.

this code below

                mailmessage message = new mailmessage();                 message.to.add(new mailaddress("xxx@sharepoint.local", "recipient"));                 message.from = new mailaddress("xxx@sharepoint.local", "sharepoint test emailer");                 message.isbodyhtml = true;                 message.subject = properties.listitem.title;                 message.body = properties.listitem["publishingpagecontent"].tostring();                 smtpclient client = new smtpclient("192.168.10.0");                 client.send(message); 

the code looks fine there's 2 areas check here:

  1. is there potentially rule on exchange server that's removing these? maybe client based settings blocking images?
  2. have checked value of listitem["publishingpagecontent"].tostring() make sure it's working expected @ runtime?

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -