title: Is there a way to send email from Spotfire on a button click?
body: <p>i am looking for an option to send email form a button click in spotfire text area using iron python </p>
  
  <p>(or)</p>
  
  <p>can we  implement same with the help of iron python and Automation Services.</p>
  
  <p>(or)</p>
  
  <p>Is there a way to get it done using R programming </p>
  
  <pre><code>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();
  </code></pre>
  
  <p>the above code is to send email , it is working fine within spotfire Client but not in web player.please help me out </p>