LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

send mail using SMTP Send Message when mail server is unknown

I have Intenet Developers Toolkit.I am using SMTP Send Message vi to send mail. When I am specifying mail server address, it works fine. But, if mail server is unknown to me then how I can send mail?
0 Kudos
Message 1 of 6
(2,999 Views)
You can't. You have to know the name (or IP address) of a mail server to send mail. You see with email you aren't sending a message directly to the other machine, rather you send a packet of information describing the message to a server that then performs the necessary processing to get the message to its intended recipient(s).

Why is it that you don't know the address of your mail server?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(2,999 Views)
I have to develop a program like that our client will distribute exe to his vendors. So, how can I know the address of a mail server at vendor end? I think, now u have got my problem. Can I read mail server address from Windows registery? But, then for direct connection what steps should be taken?
0 Kudos
Message 3 of 6
(2,999 Views)
Possible bodge that I did once; see attached. If you can't find it then
ultimately you'll have to prompt the user to enter it and then save the
setting.

--
Craig Graham, Software Engineer
Applied Analysis and Integration Limited, UK


"meghna" wrote in message
news:50650000000500000014730000-1019262487000@exchange.ni.com...
> I have to develop a program like that our client will distribute exe
> to his vendors. So, how can I know the address of a mail server at
> vendor end? I think, now u have got my problem. Can I read mail server
> address from Windows registery? But, then for direct connection what
> steps should be taken?



[Attachment Find Mail Server.vi, see below]
0 Kudos
Message 4 of 6
(2,999 Views)
Can u convert this vi for LabVIEW 6i as I am not having LabVIEW 6.1?
0 Kudos
Message 5 of 6
(2,999 Views)
Alternately, you can have it as part of the customer configuration and store the setting in the *.ini file. For example, LV itself has a variety of user options that are accessed from a configuration dialog box and stored in the LabVIEW.ini file.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(2,999 Views)