Is there a way to send email from Spotfire on a button click?

i am looking for an option to send email form a button click in spotfire text area using iron python

(or)

can we implement same with the help of iron python and Automation Services.

import clr
    clr.AddReference("Microsoft.Office.Interop.Outlook")
    from System.Runtime.InteropServices import Marshal

    mail= Marshal.GetActiveObject("Outlook.Application").CreateItem(0)
    mail.Recipients.Add("abc@xyz.com")
    mail.Subject =  "subject here"
    mail.Body = "body here"
    mail.Send();

the above code is to send email , it is working fine within spotfire Client but not in web player.please help me out

 

Thanks in Advance

(1) Answer

Login