Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Email Body

$
0
0

I am using sp_send_dbmail. And for @body, I have a simple varchar value. Now I want to make the message content a bit more professional looking. I believe this involves constructing an HTLM string.

For starters, can someone help me with this.

Let's say my @body is 'This Website: http://ThisWebsite.com'

When the email is received, this exact string appears.

How can I make it so that it appears with 'This Website' underlined so that it is clickable and when you click it, it goes to http:\\ThisWebsite.com?

What would be the value of the @body variable to make this happen?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>