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:

Integration with SQL (1997) Virtual hosting and webcatNT (1997) [table] strange behaviour REAL solution (2003) Public Beta for WebCatalog 4.0 is Available (2000) Just Started (1998) [WebDNA] reverse rank=off (2008) [movefile] (1999) Emailer question (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Where's Cart Created ? (1997) Getting Emailer to send mail (1997) Re:Problem (1997) [protect] error page (1997) show all problem (1997) [WebDNA] Spambots, message boards and such (was: Still having problems) (2008) unable to launch acgi in WebCat (1997) [WebDNA] unix timestamp in WebDNA (2009) category index, drop down list (2005) DON'T use old cart file! (1997) eMail volume (2000)