I use Devexpress controls with my development projects and came across an issue in Xtrareports whereby when exporting a report to HTML, all the images are referenced as local file system resources which makes it impossible to assign the resulting HTML to the body of an email if it contains images.
The original issue is here if you are interested: http://www.devexpress.com/Support/Center/p/CS17889.aspx
Well I've needed to do this again so thought I'd look for a workaround. Here's what I came up with.
Add this code to the code behind file of the report you want to send as a HTML email.
Use the following code when you want to send the mail (including embedded images)
If you need to do this for more than one report then just create a base report containing the code and inherit any reports that require the functionality.
You can use a similar method if you want to do the same for barcodes or charts within the report.
Complete demo project can be downloaded here. Don't forget to use the ProjectConverter if you are using a different version of the Devexpress Suite.
Leave me a comment if you find this useful. :-)