LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send email on labview using the Gmail Server (TLS)

Hello,
I am trying to using the Google mail server to send email from LabVIEW. I actualy try to use the library of the OpenG OGIC_SMTP. The problem is when talking with the server, I received the message require to do TLS. After sending STARTTLS, I receive this message 220 2.0.0 Ready to start TLS. I don't know what I should do next.
Please tell me what is the next step? I do a lot of googling but only the recommend that after TLS is negotiate with the server. But I don't know how to do that.
I highly appriciate any help.
Best Regards,
Thang Nguyen
0 Kudos
Message 1 of 114
(22,007 Views)
Hello Nang,

It would us if you could show which code you used and which protocol you (try to) follow!

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 114
(21,926 Views)
Hi TonP,
Could you please take a look at the VI OGIC_SMTP_Main.vi in the internet toolkit at OpenG? http://openg.org/tiki/tiki-index.php?page=OpenG+Internet+Connectivity+Tools#attachments
You can download at the attachment tab.
Because I still try to modify this function with adding some command, so there is not any vi from myself. That's the reason why I don't have any VI to send you.
Thank you for your patient to answer my question.
Thang Nguyen
0 Kudos
Message 3 of 114
(21,904 Views)
I have answered your question, here.
0 Kudos
Message 4 of 114
(21,900 Views)

Hi Jim,

I read your answer already. I just want to answer TonP.

Thank you so much for your answer,

Thang Nguyen

0 Kudos
Message 5 of 114
(21,896 Views)
I managed to accomplish this fairly easily using the Microsoft .NET Framework.  Of course, that means it will only work in Windows for the time being.  See the attached gmail.vi.
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
Message 6 of 114
(21,294 Views)

I have used this gmail VI with decent success.  However, when I attach a file, it seems to leave the file open so that I cannot open it elsewhere in the program.  Is there  a way to fix this?

 

Thanks,

 

Andy

0 Kudos
Message 7 of 114
(21,058 Views)

I assume that if you close all of the refernces you should have no problem:

 

 

Ton

 

Message Edited by TonP on 10-04-2008 11:12 AM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 8 of 114
(21,036 Views)

If possible, could some one please post a version of 'gmail.vi' for LabView 8.2?  Thanks!

0 Kudos
Message 9 of 114
(20,882 Views)
Here you go.
Message 10 of 114
(20,846 Views)