Send an email using Simple Mail Trasfer Protocol (SMTP) to sync up with Gmail. LabVIEW still does not interact with email servers that need authentication, but the System.SmtpClient Class does interact with open email accounts.
This VI uses SMTP property nodes in order to write a standard email and send it via a Gmail account. For more information about SMTP check out this link.
Steps to Implement of Execute
Prior to running the code type in all the necessary information.
Once the email is created push the Run Arrow in order to send the email.
Note: If you receive Error -1172 with this example, try logging into the Gmail account with your browser. This error can occur with Gmail accounts that have been inactive for a period of time. You must log in with a browser and verify CAPTCHA text to reactivate the account.
LabVIEW 2012 (or compatible)
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.