Format email from SQL server the same way gmail formats vcalendar emails

Just wondering if anyone knows how to do this in SQL.

I can send emails with .ics attachments via CDO.message, but they come with without any buttons, the user has to open the attachment to create the appointment.  

Also, is there  a way to format the email in such a way that you do not need to include the file as an attachment.. just sent a direct email from sql.

Thanks
LVL 8
BrentDevOpsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MohammedUCommented:
Check sp_send_dbmail procedure in BOL...
You can use HTML format or other check the examples....
http://msdn2.microsoft.com/en-us/library/ms190307.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrentDevOpsAuthor Commented:
I realize i posted this in both the 2000 and 2005 forums... but

That appears to be a SQL 2005 only proc.  Are their any for 2000 or can i port that one( i assume not )?

Thanks!
0
BrentDevOpsAuthor Commented:
I needed 2000, but you provided an answer for 2005.  Since i didnt state it in my original question and you did provide a solution, i am awarding the points for effort and possible solution if i upgrade.

Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.