Set Attachments VI

Owning Palette: SMTP Email VIs

Requires: Full Development System

Sets a list of files that you want to include with the email. This VI overwrites any attachment values that you specify before this VI executes.

 Add to the block diagram  Find on the palette
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.
attachments specifies an array where each element is the path to a file you want to include with the email. LabVIEW opens and transmits the file when the Send Email VI executes using the handle that handle out returns.
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.