10-02-2013 07:39 AM
We are upgrading to LabView 2013 and any VI that we open that uses SMTP is broken. It seems that NI updated the SMTP functionality but do we have to rewrite every VI that was using SMTP to mail emails from our applications? Are the old 2011 VIs avalable in 2013? Two that we use a lot are "SMTP Send Message.vi" and "SMTP Send File.vi". Where can we find these and any others for LabView 2013?
10-02-2013 10:24 AM
I believe the SMTP VI's are a part of the Internet Toolkit. Did you install the Internet Toolkit when you installed LV 2013?
10-02-2013 10:27 AM
Hi RobertVR,
Refer to
KnowledgeBase 5YR9ISDO: LabVIEW Internet Toolkit Deprecated
http://digital.ni.com/public.nsf/allkb/EB34E86CE3AD08D686257A2B005482FD
Regards,
10-02-2013 11:04 AM
Intereseting.
So what is considered the recommended replacement for the SMTP VI's? The KB article doesn't mention that.
10-02-2013 12:02 PM
It appears that they've been replaced with the SMTP Email VIs available in Data Communication>>Protocols>>SMTP Email - there's even a nifty-looking Send Email express VI I wasn't aware of. The old functions are still present at <root>\National Instruments\LabVIEW 2013\vi.lib\Utility\SMTP, but don't appear in the palettes. It doesn't look like there should be any issue with backwards compatability for upsaved VIs, but be aware that these functions are no longer supported.
Regards,
10-02-2013 12:11 PM
@0utlaw wrote:
It appears that they've been replaced with the SMTP Email VIs available in Data Communication>>Protocols>>SMTP Email - there's ....... The old functions are still present at <root>\National Instruments\LabVIEW 2013\vi.lib\Utility\SMTP, but don't appear in the palettes.
That's actually where I went to look for my SMTP e-mails in LV 2012. The VI hierarchy path for these VI's is LabVIEW 2012\vi.lib\Utility\SMTP\smtpeml.llb I thought those were the VI's the original poster was looking for and not finding.
@0utlaw wrote:
- there's even a nifty-looking Send Email express VI I wasn't aware of.
I haven't seen that in 2012. Maybe that is a new addition to LV2013.
10-02-2013 12:28 PM
That is correct- these appear to be changes in 2013. The new library is located at LabVIEW 2013\vi.lib\smtpClient\
Regards,
06-24-2014 10:40 AM
OK, so NI in their infinite wisdom have discontinued a vi that would allow me to easily attach a jpg and email it to something that now requires that I build my own string of sub-vis and now for the attachement it requires a 1 D path input? I have searched help for this with no success. Basically, my vi calls for the user to click on a radio button and the starts a timer so that every 30 minutes, a screen capture is attached to an email and sent to the recipient. My previous vi used a path like so..... Q:\APR\lbot.jpg. That no longer works for my attachment.
06-24-2014 10:52 AM
Stupid question. I know what they are asking for, I don't know how to create it. Basically it looks like an array where you can input multiple attachements from different locations. I can't figure out how to create a path array.
06-24-2014 10:58 AM
Just use build array.