Below piece of code works fine for Plugin but fails for Ajax. Can anyone help me to get its Ajax equivalent.
Set vOlApp = CreateObject("Outlook.Application")
Set vMessage = vOlApp.CreateItem(olMailItem)
vMessage.Subject = "alert message"
vMessage.To = "email@example.com"
vMessage.bcc = ActiveDocument.Variables("EmailList").GetContent.String
vMessage.Body = "Please type here"
Thanks in advance!
AJAX is client-side, the code you have is server-side. You can't control what is installed on the client, so on the client (according to that code) you need a copy of Qlikview and Outlook installed to make it run (not that the code would run since you need to define ActiveDocument/which QV report it is to get the EmailList)