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:

Permissions Ignored - PLEASE HELP (2003) [ModDate] & [ModTime] ? (1997) [WebDNA] RE: webdna right click protect (2009) Here is the code: (2000) webcat license???? (1997) Virtual hosting and webcatNT (1997) OFF-TOPIC: Lending investors ... (2002) Almost a there but..bye bye NetCloak (1997) Separate SSL Server (1997) Undeliverable Mail (1997) Using [redirect] in the middle of a page? (1999) Display [price] in banner ad (1998) List Address Changed! (1998) Newbie question (1998) [WebDNA] Crashing (2008) unit ship cost GRRRRRRR! (2001) Up and running ... at last !! (1997) [WebDNA] Install LIghttpd and WebDNA v7.0 on Ubuntu 10.10 (2011) [WebDNA] Cloud hosting and local development (2019) TCP Connect code for SMTP transaction (2004)