Hi everyone the following code works when I specify a physical path with share permission:
Declare @Body varchar(max);
Set @Body  = 
            'Here is a picture added to JKD Report:<br/><br/>
            Last Updated on: '+ CONVERT(VARCHAR(19),GETDATE())+'<br/>
            <br/>
            <img src="C:\emailpic.jpg">
            ';
EXEC msdb.dbo.sp_send_dbmail 
      @profile_name = 'JKD',   
      @recipients = 'doe@somewhere.com;',
      @body = @Body,
      @subject = 'JKD Email testing',
      @body_format = 'HTML'   
Is it possible to set the image in the html by using an image from a table? Thanks.
 
     
    