Re: TCP/IP connect

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20338
interpreted = N
texte = >In 3.0 their is a TCP/IP connect command that should be able to read/write >to any server, specifically EIMS. Can you post a sample string for >reading/writing to EIMS using the following. (I'm using EIMS 1.2 FYI)This should give you a start for talking to any mail server: [text]host=talk.smithmicro.com[/text] [text]user=yourEmailusername[/text] [text]pass=yourEmalpassword[/text]
[tcpconnect host=[host]&port=110] [text show=t]response=<[middle start=<&end=>][tcpsend end=%0D%0A][/tcpsend][/middle]>[/text] [tcpsend end=%0D%0A]APOP [user] [encrypt method=APOP][response][pass][/encrypt][UnURL]%0D%0A[/UnURL][/tcpsend] [text show=t]stats=[tcpsend end=%0D%0A]STAT[UnURL]%0D%0A[/UnURL][/tcpsend][/text] [listwords words=[stats]&delimiters= ][showif [index]=2][text show=t]numEmails=[word][/text][/showif][/listwords] messages [tcpsend end=%0D%0A.%0D%0A]LIST[UnURL]%0D%0A[/UnURL][/tcpsend] [tcpsend end=%0D%0A.%0D%0A]UIDL[UnURL]%0D%0A[/UnURL][/tcpsend] [ShowIf [numEmails]>0] [loop start=1&end=[numEmails]] [/loop] [/ShowIf] [tcpsend end=%0D%0A]QUIT[UnURL]%0D%0A[/UnURL][/tcpsend] [/tcpconnect]
Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: TCP/IP connect (PCS Technical Support 1998)
  2. TCP/IP connect (Charlie Romero 1998)
>In 3.0 their is a TCP/IP connect command that should be able to read/write >to any server, specifically EIMS. Can you post a sample string for >reading/writing to EIMS using the following. (I'm using EIMS 1.2 FYI)This should give you a start for talking to any mail server: [text]host=talk.smithmicro.com[/text] [text]user=yourEmailusername[/text] [text]pass=yourEmalpassword[/text]
[tcpconnect host=[host]&port=110] [text show=t]response=<[middle start=<&end=>][tcpsend end=%0D%0A][/tcpsend][/middle]>[/text] [tcpsend end=%0D%0A]APOP [user] [encrypt method=APOP][response][pass][/encrypt][unurl]%0D%0A[/UnURL][/tcpsend] [text show=t]stats=[tcpsend end=%0D%0A]STAT[unurl]%0D%0A[/UnURL][/tcpsend][/text] [listwords words=[stats]&delimiters= ][showif [index]=2][text show=t]numEmails=[word][/text][/showif][/listwords] messages [tcpsend end=%0D%0A.%0D%0A]LIST[unurl]%0D%0A[/UnURL][/tcpsend] [tcpsend end=%0D%0A.%0D%0A]UIDL[unurl]%0D%0A[/UnURL][/tcpsend] [ShowIf [numEmails]>0] [loop start=1&end=[numEmails]] [/loop] [/ShowIf] [tcpsend end=%0D%0A]QUIT[unurl]%0D%0A[/UnURL][/tcpsend] [/tcpconnect]
Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Formulas (2001) latest version? (1998) Resolving variables into field names (1998) [WebDNA] math date issues? (2013) I guess I have a problem with commitment (2003) Date Question (2002) Relay link (2002) [WebDNA] Which EC2 instance? (2008) Forcing price recalculation in shopping cart (1998) [searchString] (1997) possible bug in unix version? (2000) Running _every_ page through WebCat ? (1997) Cookies and domains (2006) Putting [cart] into a database (2003) Somewhat OT: IE issues (2002) Wanted: Broader string manipulation functions (1997) Some Questions (1997) [WebDNA] [OT] Merchant Provider Suggestions (2008) WebDNA Trouble... (1999) restarting service remotely on NT (1997)