I’m building a string that will be sent over email. In the string I’d like to include a link, like so:
String mailstring = "Blah blah blah blah. Click here for more information."
and I’d like the “here” to be a link in the email, such as putting it http://madeuplink.com. I know I can put the address instead of the ‘here’ but I’d like to have the link be the word.
You can add HTML markup. Assuming the client has HTML emails enabled, it should become a link. If you’re using MailDefinition to create the email, then ensure that the IsBodyHtml property is set to true.