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


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

import clr
    from System.Runtime.InteropServices import Marshal

    mail= Marshal.GetActiveObject("Outlook.Application").CreateItem(0)
    mail.Subject =  "subject here"
    mail.Body = "body here"

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