I would like to send an email from my workflow. The email must be sended as html because I have an a href tag inside of it. See code below with my current code:
string ClientEmailBody = string.Format("Er is een nieuw wijzigingsverzoek voor beoordeling <a href='{0}'>{1}</a>", someUrl, someTitle);
bool sendMail = SPUtility.SendEmail(workflowProperties.Web,true,true,ClientEmail,ClientEmailSubject,ClientEmailBody);
Sometimes the a href is OK. But sometimes it is not working. If the url is not working I got the following url:
http://mywebsite.nl/owa/UrlBlockedError.aspx
I dont use special urls, but normal. See here an example of the url:
http://mywebsite.nl/sites/RFC2/Lists/Impactanalyses/DispForm.aspx?ID=3
Do I need to explicit send the mail as html?