As, I want to send birthday wishes image to mail.
This is my coding in Sql mail sending query,
EXEC msdb.dbo.sp_send_dbmail
@recipients='[email protected]',
@subject ='Birthday Wishes',
@file_attachments = 'c:\MyFolder\image.gif',
@body=N'
Image Test

See image there?
',@body_format = 'HTML',
@profile_name ='SQlAlert';
Its working good but, it will be display image as attachment in mail.
My requirement is if i send birthday wishes image to mail using sql mail sending query. Once i login my mail click inbox it will be display image in message body automatically.
Please any one solve this problem for me.

Jignesh TrivediRank #16 · 50.3K reputationPosted Feb 13, 2013, 5:40 PM EST
hi,
Please check following link
http://www.sqlservercentral.com/Forums/Topic1292947-391-1.aspx
http://www.example-code.com/sql/mht_emailHtmlString.asp
it might help you.
sharmila k57 reputationPosted Feb 14, 2013, 8:30 PM EST
Thanks for your reply.
But i need send image from sql mail sending,its display without attachment to mail.