As a transitional step, this site will temporarily be made Read-Only from July 8th until the new community launch. During this time, you can still search and read articles and discussions.
While the community is read-only, if you have questions or issues requiring TIBCO review/response, please access the new TIBCO Community and select "Ask A Question."
You will need to register or log in or register to engage in the new community.
How to to send an email via Outlook using IronPython in TIBCO Spotfire®
11:47pm Aug 26, 2019
Table of Contents
This script will send an email via Outlook. Outlook must be running in order for this script to work.This script will not work on Web Player. This is only for Professional Client.
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. import clr clr.AddReference("Microsoft.Office.Interop.Outlook") from System.Runtime.InteropServices import Marshal mail= Marshal.GetActiveObject("Outlook.Application").CreateItem(0) mail.Recipients.Add("email@example.com") mail.Subject = "Subject here" mail.Body = "Body here" mail.Send();
License: TIBCO BSD-Style License