Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to send HTML formated mail
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

83 Posts

Posted - 10/23/2012 :  08:11:55  Show Profile  Reply with Quote
Hi All,

I have a challenge to accomplish the task from my boss in specific time window i.e : They have pre-defined format mail that contains image in mail body like it is a promotional mail and they want to sent them to all e-mails we have in our database.
I have used sp_sende-mail yet that sends plain text mail... how to do this task in sql server. is it possible in SSIS? If someone could help me step by step for HTML format.


In (Som, Ni, Yak)

17689 Posts

Posted - 10/23/2012 :  08:49:34  Show Profile  Reply with Quote
for sp_send_dbmail
pass in @body_format = 'HTML' and the formatted HTML text in @body

refer to

Time is always against us

Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 10/23/2012 :  18:37:13  Show Profile  Reply with Quote
this is how you do it in ssis

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000