Send Email

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


icon

Dialog Box Options

Option Description
User Information Contains 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.

Email Contains 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 Email

Tests the configuration of the VI by sending a test email to the email address you specify in Sender's Email Address.

Inputs/Outputs

  • cerrcodeclst.png error in

    Specifies error conditions that occur before this node runs. This input provides standard error in functionality.

  • cstr.png Message

    Specifies a message, in plain text, that you want to send to the recipient(s).

  • cstr.png Subject

    Specifies the subject of the message.

  • cstr.png Recipients

    Specifies 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.

  • ierrcodeclst.png error out

    Contains error information. This output provides standard error out functionality.