This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Add Attachments to SMTP Emails in LabVIEW

Updated Dec 18, 2023

Reported In

Software

  • LabVIEW

Issue Details

  • I am using the Send Email Using SMTP Client VI example provided in the LabVIEW Example Finder. However, it does not provide the possibility to add an attachment to the email. How can I do that?
  • I am sending an Email from LabVIEW using my company SMTP Server and I observe that when I send attachment I could not receive the Email. Whereas when I do not send attachment I receive the Email normally

Solution

  • You can use the Set Attachments VI provided in the Data Communications >> Protocols >> SMTP Email palette to add attachments to an SMTP Email.
  • If you are not able to receive Emails with attachments from LabVIEW, check with your company IT expert whether the SMTP server is blocking any Emails with attachment from the LabVIEW process. Once necessary permissions have been granted, you should be able to send attachments along with Emails from LabVIEW.