Jump to content

how to declare smtp server in ascii?


Recommended Posts

 

I tried to find this way to declare connection address on smtp server. For example: I create an account on SMTP2GO. THEY RECOMMEND THIS STATEMENT mail.smtp2go.com, but not possible. I CAN PUT NUMBERS and not address of this type. I am crazy about this software ....


 

 

 
 
 
 

 

Link to comment
Share on other sites

Hi interroga,

Everything have solution.

VisiLogic PLCs are working with IP addresses.

PCs are doing this conversion internally. UniStream PLCs too.

To convert  mail.smtp2go.com to IP address, you have to use DNS resolver.

See SM35_DNS_Resolver.vlp example in directory

C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Communications\Ethernet\

Use IP address, resolved by DNS resolver, for communication with email server.

*It seems that you added pictures to post, but we cannot see them.

 

Link to comment
Share on other sites

  • 4 weeks later...

Which IP are we talking about here the mail server or the PLC??

If it's the mail server then as AlexUT said.

On 7/31/2019 at 2:03 AM, AlexUT said:

Hi interroga,

Everything have solution.

VisiLogic PLCs are working with IP addresses.

PCs are doing this conversion internally. UniStream PLCs too.

To convert  mail.smtp2go.com to IP address, you have to use DNS resolver.

See SM35_DNS_Resolver.vlp example in directory

C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Communications\Ethernet\

Use IP address, resolved by DNS resolver, for communication with email server.

*It seems that you added pictures to post, but we cannot see them.

 

If it's the PLC  Unitronics does have a DHCP server program which was written by a user that functions for the Vision series. You'd have to review it and integrate it into your program.

Link to comment
Share on other sites

I have found these IP addresses to use,

             43.228.184.6    -- current using in a test program  - works

            from SMTP2GO       :       

                                                             North America:
                                                             43.228.184.6 or 103.47.204.4

                                                             Europe:
                                                            103.2.140.82 or 103.2.143.7

        also check out this link :  https://support.smtp2go.com/hc/en-gb/articles/227835308-Worldwide-Server-Locations-And-Email-Routing

 

DanT

                                            

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...