LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need a vi to write an email, including password

Hallo,
I need a vi, with which I can automatically write and send an email. Additionally, the password and user should be asked for and entered in control variables.
Thanks
0 Kudos
Message 1 of 6
(3,378 Views)
We'll need a bit more information to help you out here.

Mainly, what type of mail server are you trying to talk to. POP3, IMAP, MSExchange?

If you have LabVIEW 7, there are some built-in POP3 email vi's that you can use to send mail, but it doesn't look like they can take a user and password.

Maybe you could use ActiveX calls to your regular mail program if you're in Windows.

Feed us a bit more info and we should be able to figure something out.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 6
(3,377 Views)
Hello
I agree with Ed Dikens. In the meanwhile, perhaps you should take a look at these links:

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EE1556A4E034080020E74861&p_node=DZ52050&p_submitted=N&p_rank=&p_answer=&p_source=External

http://exchange.ni.com/servlet/com.quiq.servlet.GetObject/email-smtp-mime.zip?KEY=101.97.30529.14&SIG=101.97.30529.14&EXT=mime:application/x-zip-compressed


Hope it helps.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 3 of 6
(3,377 Views)
Unfortuately, all of the VI's in this library are for receiving mail only.

I'm actually currently working on updating this set of VI's to include more functions, like being able to send mail and a better mail browser that will work like a regular mail client.

It will be posted to OpenG.org when complete and I will probably also submit it to NI for posting to thier code library.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 6
(3,377 Views)
In article <506500000008000000C7B00000-1068850981000@exchange.ni.com>,
"Verena" wrote:

> Hallo,
> I need a vi, with which I can automatically write and send an email.
> Additionally, the password and user should be asked for and entered in
> control variables.
> Thanks

Take a look at what OpenG has to offer with the OGIC project:
http://www.openg.org/tiki/tiki-index.php?page=OpenG+Internet+Connectivity+Tools

You can give it a username and password. Uses plain text encoding
(base64), no fancy encryption. BTW, these are all meant to be just tools.
All the uname and pass prompting along with building and passing the
message is just fluff that must be passed from a higher level.

NOTES:
1) Don't forget to give it a temporary directory!
2) Ens
ure that your firewall is configured such that it permits
activity on port #25 (smtp port). Most corporate settings don't
allow this so you could be SOL.

Good luck.
0 Kudos
Message 5 of 6
(3,377 Views)
On Sat, 29 Nov 2003 12:11:46 -0600 (CST), Ed Dickens wrote
on Re: I need a vi to write an email, including password:

>Unfortuately, all of the VI's in this library are for receiving mail
>only.

SMTP, not POP3, is what you need to send email:
http://www.ni.com/support/labview/toolkits/internet/smtp.htm
0 Kudos
Message 6 of 6
(3,377 Views)