O'Reilly logo

LabVIEW Graphical Programming Cookbook by Yik Yang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using SMTP to send e-mail

Simple Mail Transfer Protocol (SMTP) is a standard to send e-mails. In this recipe, we will use SMTP to send e-mail through a Gmail account.

How to do it...

We will build our e-mailing application based on a state machine architecture.

  1. Build the state machine as shown in the following screenshot. It starts in the User Input state, and waits for the user to enter all required information and click on Send.
    How to do it...
  2. If the Exit button is clicked on, the state machine will go to the shutdown state.
    How to do it...
  3. The next state is "From/To". It creates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required