1 Reply Latest reply: Aug 16, 2012 4:57 AM by Pieter Le Roux RSS

    Macro to send an email for AJAX client.



      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 = "abc@yahoo.com"

      vMessage.bcc =  ActiveDocument.Variables("EmailList").GetContent.String

      vMessage.Body = "Please type here"



      Thanks in advance!