04-08-2008 01:20 PM
04-08-2008 01:26 PM
04-08-2008 01:47 PM
Thanks Mercurio,
I have some problems connecting because the mail server says " Error command", i wan to ask you if there is a email server of your preference that you use for this like Hotmail , yahoo or something else that doesnt require a authentication.
Thanks again
04-08-2008 02:44 PM
04-08-2008 04:32 PM
Thanks for pointing me to that VI, i finally saw my emails on my account. But what i need is to send emails not to read them so this is what i have learned so far:
-Labview native SMTP VI's doesnt support simple authentication ( user name and password), much less SSL or TSL (gmail)
- Open G SMTP VI's support simple authentication, but not SSL or TSL ( who can blame them i know is something difficult to develop without motivation $$$$)
These facts( i think...) take us to these solutions:
- We need to have corporate accounts or personal mail servers to use those accounts with the available free VI's.
-Buy Internet toolkit ( $$) i bet that for 500 dollars they include some precius SMTP VI's that support Gmails accounts!!! ( just guessing)
So i will go for the firs option ( my boss cant spend a lot of money in toolkits every tme i get stuck in a part of the project) .
What do you think?
04-08-2008 04:53 PM
04-09-2008 01:08 AM
Because of the encryption algorithme needed. And the security implications that has. Doing a secure SMTP client with enccryption is serious business which is not correct when it works but only when it is reviewed by security specialists.
@smercurio_fc wrote:
Almost all email servers nowadays (including Hotmail and GMail) require a username and password for authentication. The SMTP VIs that ship with LabVIEW do not support authentication. I have yet to figure out why NI left this out for so long. You can use the OpenG SMTP Library that you can find here. NOTE: These won't work with servers that use encryption.
04-09-2008 01:16 AM - edited 04-09-2008 01:23 AM
@Isaac84 wrote:Thanks for pointing me to that VI, i finally saw my emails on my account. But what i need is to send emails not to read them so this is what i have learned so far:
There are servers that support SMTP after POP. What this basically means is, that a client first connects by POP using its login information and then immediately follows that connetion with an usafe connection through SMTP. The server sees the SMTP connection request coming from the same IP address as the successful POP login just a moment ago and grants access based on that fact.
Not terribly secure but not really worse than Base64 encoding or MD5 encryption login.
-Buy Internet toolkit ( $$) i bet that for 500 dollars they include some precius SMTP VI's that support Gmails accounts!!! ( just guessing)
04-09-2008 09:04 AM
@rolfk wrote:Rolf, I wasn't referring to the LabVIEW SMTP VIs not supporting encryption. I was referring to them not supporting basic username/password authentication, which the OpenG VIs do. I know that encryption is quite difficult (we've actually been down this road before, if you recall), and I'm not surprised that the LabVIEW SMTP VIs don't support that.Because of the encryption algorithme needed. And the security implications that has. Doing a secure SMTP client with enccryption is serious business which is not correct when it works but only when it is reviewed by security specialists.
@smercurio_fc wrote:
Almost all email servers nowadays (including Hotmail and GMail) require a username and password for authentication. The SMTP VIs that ship with LabVIEW do not support authentication. I have yet to figure out why NI left this out for so long. You can use the OpenG SMTP Library that you can find here. NOTE: These won't work with servers that use encryption.
04-09-2008 10:53 AM
Username/password authentification without some form of encryption is not very useful. Any server allowing Base64 encoded username/password encoding but not unauthentificated connections is basically kidding the users. It has no security at all and poses the risk of publically making passwords available.
@smercurio_fc wrote:@rolfk wrote:Rolf, I wasn't referring to the LabVIEW SMTP VIs not supporting encryption. I was referring to them not supporting basic username/password authentication, which the OpenG VIs do. I know that encryption is quite difficult (we've actually been down this road before, if you recall), and I'm not surprised that the LabVIEW SMTP VIs don't support that.Because of the encryption algorithme needed. And the security implications that has. Doing a secure SMTP client with enccryption is serious business which is not correct when it works but only when it is reviewed by security specialists.
@smercurio_fc wrote:
Almost all email servers nowadays (including Hotmail and GMail) require a username and password for authentication. The SMTP VIs that ship with LabVIEW do not support authentication. I have yet to figure out why NI left this out for so long. You can use the OpenG SMTP Library that you can find here. NOTE: These won't work with servers that use encryption.