Send Email Express VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: SMTP Email VIs

Requires: Full Development System

Creates and sends an email according to the settings you specify in the configuration dialog box.

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
User InformationContains the following options:
  • Sender's Email Address—Specifies the email address from which you want to send the email.
  • Outgoing Mail Server (SMTP)—Specifies the hostname or IP address of the SMTP server you want to use to send emails. Do not include the port number in this field.
  • Port—Specifies the port number of the SMTP server you want to use to send emails. The default is 25, which is standard for open connections. However, if you use a secure connection, you may need to change the port number.
  • Require Log-in—Specifies whether to transmit log-in credentials to the SMTP server. Most public SMTP servers require log-in credentials. The default is unselected.
    • Username—Specifies the log-in username for the SMTP server you specify. On most public servers, this is your email address.
    • Password—Specifies the log-in password for the SMTP server you specify.
  • Use Secure Connection (TLS\SSL)—Specifies whether to require a Transport Layer Security (TLS) and Secure Sockets Layer (SSL) secured connection when LabVIEW communicates with the SMTP server.
EmailContains the following options:
  • Recipients—Specifies the email address(es) of the recipient(s). To send an email to multiple recipients, separate each email address with a comma. You must enter at least one email address. You also can wire a recipient list to the Recipients input on the block diagram.
  • Subject—(Optional) Specifies the subject of the message. You also can wire a subject line to the Subject input on the block diagram.
  • Message—(Optional) Specifies a message in plain text that you want to send to the recipient(s). You also can wire a message to the Message input on the block diagram.
Send Test EmailTests the configuration of the VI by sending a test email to the email address you specify in Sender's Email Address.

Block Diagram Inputs

ParameterDescription
RecipientsSpecifies the email address(es) of the recipient(s). To send an email with multiple recipients, separate each email address with a comma. You must enter at least one email address.
SubjectSpecifies the subject of the message.
MessageSpecifies a message, in plain text, that you want to send to the recipient(s).
error inSpecifies error conditions that occur before this node runs. This input provides standard error in functionality.

Block Diagram Outputs

ParameterDescription
error outContains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful