Jump to content

Recommended Posts

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?

Link to comment

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.