Kevin Boronka Posted August 9, 2006 Report Share Posted August 9, 2006 I'm trying to send emails from LV8.01 using gmail's SMTP server, which uses a TLS secure connection. Are there any alternatives to using OGIC or the built in LV SMTP vi's to send an SMTP email? From what I've been testing, both do not handle SSL/TLS autentication. :headbang: any suggestions? Quote Link to comment
ned Posted August 10, 2006 Report Share Posted August 10, 2006 If you know the destination email address in advance, you could look up the SMTP server for that address and connect directly to it, which would avoid needing authentication. You can use the "nslookup" tool on Unix or from a Windows command prompt to do this, as shown below. The server with the lowest MX preference has first priority. If your users can enter the email address then this becomes more work, but perhaps you could get the domain from the email address, feed the query to nslookup using "Shell Exec," parse the output and determine the server to which to connect. C:\>nslookup -q=mx yahoo.com Server: nfcntad01 Address: 172.20.0.215 Non-authoritative answer: yahoo.com MX preference = 1, mail exchanger = mx2.mail.yahoo.com yahoo.com MX preference = 1, mail exchanger = mx3.mail.yahoo.com yahoo.com MX preference = 5, mail exchanger = mx4.mail.yahoo.com yahoo.com MX preference = 1, mail exchanger = mx1.mail.yahoo.com Quote Link to comment
Kevin Boronka Posted August 17, 2006 Author Report Share Posted August 17, 2006 Thanks for the idea. I've got it kind of working except all email are going into the SPAM folder automatically. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.