To avoid garbled characters in the email subject line, the subject text needs to be converted to UTF‑8 before being encoded in Base64. Also, instead of inserting the subject through Set Message Text.vi, the subject header should be set directly using Set Headers.vi.
Because LabVIEW does not include a native UTF‑8 conversion function, a toolkit from the VI Package Manager is used to provide this feature. For Base64 encoding, Base64 Fast Encode 2012 NIVerified.vi from the Fast Base64 Encoder/Decoder using LabVIEW example package is used.
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project.
To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW block.
・Sending SMTP Email Attachments from LabVIEW
・Download & Manage LabVIEW Add-ons with VI Package Manager (VIPM)
・Read Special Characters with LabVIEW
Collaborate with other users in our discussion forums
A valid service agreement or active software subscription may be required, and support options vary by country.
Helpful
Not Helpful