Re: Solution help needed

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21771
interpreted = N
texte = >As part of a project I am developing, my client wants to be able to >provide email services for the registered users of the system, somewhat >like hotmail does (i think). I want to build the interface with WebCat >giving them the ability to check mail, send mail, etc. from the browser. >Each user will have their own email account. Has anyone tried this? Any >suggestions?You can play with the following template. Not guaranteed to work, but it's a start. It even does APOP encrypted passwords to your mail server. Make sure you use it on an email account that is for testing, not your real account! [text]host=your.mail.server[/text] [text]user=yourusername[/text] [text]pass=yourpassword[/text]
[tcpconnect host=[host]&port=110] [text show=t]response=<[middle startafter=<&endbefore=>][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: Solution help needed (charles kline 1998)
  2. Re: Solution help needed (charles kline 1998)
  3. Re: Solution help needed (charles kline 1998)
  4. Re: Solution help needed (PCS Technical Support 1998)
  5. Re: Solution help needed (Rob Marquardt 1998)
  6. Re: Solution help needed (PCS Technical Support 1998)
  7. Re: Solution help needed (Dave MacLeay 1998)
  8. Re: Solution help needed (Mark Anderson 1998)
  9. Solution help needed (charles kline 1998)
>As part of a project I am developing, my client wants to be able to >provide email services for the registered users of the system, somewhat >like hotmail does (i think). I want to build the interface with WebCat >giving them the ability to check mail, send mail, etc. from the browser. >Each user will have their own email account. Has anyone tried this? Any >suggestions?You can play with the following template. Not guaranteed to work, but it's a start. It even does APOP encrypted passwords to your mail server. Make sure you use it on an email account that is for testing, not your real account! [text]host=your.mail.server[/text] [text]user=yourusername[/text] [text]pass=yourpassword[/text]
[tcpconnect host=[host]&port=110] [text show=t]response=<[middle startafter=<&endbefore=>][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:

How to implement 'email to a friend' feature? (2002) WebCatalog can't find database (1997) [OT] Helllllooooooo.... (2002) ConvertChars? (1998) timing out? (1997) More to Expire (1998) [OT] Am I an Idiot? (2004) Showing unopened cart (1997) Problems with WebCat (2000) Web Developer Product Awards (1997) Re:Copyright ? (1997) [LOOKUP] (1997) Error Lob.db records error message not name (1997) emailer (1997) Fedora Core 3 and WebDNA (2005) How To question on setting up downloads (1997) First postarg not taking in $Commands (1997) WebCat2: Formulas.db question (1997) 2 HTTP Servers on one machine (2006) Re:no [search] with NT (1997)