LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open default email client

Hi
 
I was wondering whether it was possible to open a persons default email client with a labview application.  More specifically i have an application and in the help menu there is some contact details including an email address.  I was wondering whether it was possible that by clicking on the email address i can open up the users default email client with a new email ready and the email address already written.  Pretty standard stuff you find anywhere
 
I have read a few posts wehere people are trying to send emails using labview, but i just want to open up the default email client wiht a new email and then i'll send it from there
 
thanks
 
PS the standard email client on my machine is lotus notes
 
 
Reza_Sed
0 Kudos
Message 1 of 10
(4,264 Views)

Hi Reza_Sed

this link describes where the information about the default email client can be found: http://www.wintotal.de/Tipps/tipp1201,urubrik4.html.

It should be possible to load this default program with "SystemExec.vi". I think it could be one solution for you. Hope it helps.

Mike



Message Edited by MikeS81 on 01-28-2008 03:50 PM
0 Kudos
Message 2 of 10
(4,249 Views)
Hope the OP has his translation tools up! Smiley Very Happy

All you need to do is use the Open URL in Default Browser VI ("Dialog and User"->"Help" palette) and pass in the email using proper URL syntax:




Message Edited by smercurio_fc on 01-28-2008 05:10 PM
0 Kudos
Message 3 of 10
(4,236 Views)
Thanks alot
 
That was to easy
0 Kudos
Message 4 of 10
(4,213 Views)

this seem does not to work with labview 2014.

Is there another solution?

best regards
Manuel

0 Kudos
Message 5 of 10
(3,636 Views)

Hey this might be an alternate solution that you're looking for

 

How Can I Send Email from LabVIEW via a Secure SMTP Server such as Gmail?

 

http://digital.ni.com/public.nsf/allkb/484272384C2960AA8625749E006512EE

CC
Applications Engineering
National Instruments
http://www.ni.com/support
0 Kudos
Message 6 of 10
(3,599 Views)

No,

 

 

Thanks anyway

 

 

i would open defualt client mail to send specifics e-mail.

i write only email address to destination

 

 

Manuel

0 Kudos
Message 7 of 10
(3,577 Views)

@RedBeard32 wrote:

Hey this might be an alternate solution that you're looking for

 

How Can I Send Email from LabVIEW via a Secure SMTP Server such as Gmail?

 

http://digital.ni.com/public.nsf/allkb/484272384C2960AA8625749E006512EE


How does sending an email through Gmail satisfy the need to open the default email client?

 

I tested the Open URL method in 2013 SP1 and it works, I tried it in 2014 SP1 and it doesn't both 32 bit in Windows 7 x64.  There are likely other ways to do this, possibly involving reading the registry, or creating a email file that is then opened.

0 Kudos
Message 8 of 10
(3,552 Views)

Okay it wasn't hard, attached is a VI that runs the default email client by reading the registry which I got from here.

 

http://stackoverflow.com/questions/1119745/find-default-email-client

0 Kudos
Message 9 of 10
(3,549 Views)

I know this is an old thread but I found this thread when facing the same feature request, and I found this more "generic solution" which is not using the registry (supports adding e.g. recipient, subject, body message). Could be useful is someone else is looking for this functionality.

Message 10 of 10
(2,197 Views)