Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Set Message VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: SMTP Email VIs

Requires: Full Development System

Sets the message you want to include in the body of the email. This VI overwrites any message values that you specify before this VI executes.

Use the pull-down menu to select an instance of this VI.

Text

handle in specifies an SMTP client handle that references system resources that LabVIEW uses to make SMTP requests. You can create an SMTP client handle using the Open Handle VI.
subject specifies the subject of the email.
plain text message specifies a message in plain text that you want to include in the body of the email. The email client of the recipient selects whether to display the message using HTML or plain text and usually gives preference to HTML.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
handle out returns an SMTP client handle that references system resources that LabVIEW uses to make SMTP requests. You can wire this output to the handle in input of other SMTP Email VIs. Use the Close Handle VI to dispose of the handle and free system resources when you no longer need the handle.
error out contains error information. This output provides standard error out functionality.

Text & HTML

Note Note  You can include both a plain text version of the message and a well-formed HTML version that the email client of the recipient can interpret as text and HTML MIME types. The email client of the recipient selects which version to display and usually prefers HTML. If the client cannot process HTML, it will select the plain text version you specify in plain text message.

handle in specifies an SMTP client handle that references system resources that LabVIEW uses to make SMTP requests. You can create an SMTP client handle using the Open Handle VI.
subject specifies the subject of the email.
plain text message specifies a message in plain text that you want to include in the body of the email. The email client of the recipient selects whether to display the message using HTML or plain text and usually gives preference to HTML.
html message specifies a message in well-formed HTML that you want to include in the body of the email. The email client of the recipient selects whether to display the message using HTML or plain text and usually gives preference to HTML.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
handle out returns an SMTP client handle that references system resources that LabVIEW uses to make SMTP requests. You can wire this output to the handle in input of other SMTP Email VIs. Use the Close Handle VI to dispose of the handle and free system resources when you no longer need the handle.
error out contains error information. This output provides standard error out functionality.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit