Email, Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 163
Chapter Three
Control Reference
app.Preferences.EMail
This set of variables controls user preferences for the instrument e-mail system.
E-Mail may be sent when the hardcopy button is pressed when the hardcopy system is appropriately configured. Two
standards are supported, SMTP (Simple Mail Transport Protocol), and MAPI (Messaging Application Programming
Interface).
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Configure the originator and recipient addresses, replace these with
' appropriate values for your corporate network.
app.Preferences.Email.DefaultRecipient = "recipientAddress@do
Example
Sets/Queries the transmission mode for e-mail.
Mode
Enum
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Set e-Mail mode to MAPI.
app.Preferences.EMail.Mode = "MAPI"
Example
Description
Values
MAPI
Messaging Application Programming Interface (Uses Outlook Express by default)
SMTP
Simple Mail Transfer Protocol, requires an SMTP server
Sets/Queries the default recipient of e-mail transmissions.
DefaultRecipient
Any number of characters
String
Range
Description
Sets/Queries the name of the SMTP Server for e-mail. Ask your system administrator if you are
unsure of what value to set this to.
SMTPServer
Any number of characters
String
Range
Description
DefaultRecipient
String
Mode
Enum
OriginatorAddress
String
SendTestMail
Action
SMTPServer
String
3-96
916435 RevA