Include Hyperlink in email sent from vbscript
Posted on 2007-03-19
When a task is created in a folder, I am trying to send an email and include a hyperlink to the EntryID of a task just created. When an internal user receives the email, I want them to click the hyperlink which will take them to the task in a public folder. I have the following code in the item_close() event within an custom outlook forms vbscript:
Set NewItem = Application.CreateItem(0)
NewItem.To = "email@example.com"
NewItem.Subject = "Item# " & Item.UserProperties("Item")
NewItem.Body = "<Outlook:" & Item.EntryID & ">" & vbCrLf
However, when the email is received the hyperlink is not underlined... it just appears as normal text within the email body.
Points based on urgency.. Thank-you.