Reputation: 23
I need a function to create a hyperlink in a appointmentItem.Body. For mailItem it works fine. I need a similiar one for the appointmentItem. I didn't found any usefull hints.
if (ThisAddIn.mailItem != null) {
ThisAddIn.mailItem.HTMLBody += "<a href='"+link+"'>Click here to call.</a>";
}else if(ThisAddIn.appointmentItem != null){
ThisAddIn.appointmentItem.Body += link;
}
Thanks for your help
Upvotes: 0
Views: 1021
Reputation: 49397
The Body property contains only the plain text.
You need to use the RTFBody property instead. See What is the RTF syntax for a hyperlink for the RTF markup.
Upvotes: 1