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:

I don't think my install worked (2003) No Access warning when caching HTML files (1997) totals (1997) Setting up WebCatalog with Retail Pro data (1996) Searching Multiple DBs (1997) Can this be done? (1997) Templates for Customer Database? (1997) Too Many Items found (2000) UPS Rate Tables (2002) Two prices in shoppingcart? (1997) Emailer help....! (1997) f2 download problems (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Cart problem (1999) [WebDNA] [OT] DNS Services (2010) Creating folders and deleting files (1997) This list needs a digest: rant, rave... (1997) More Shopping Cart Problems (2000) Attn: Bug in GeneralStore example b15 (1997) [Sum] function? (1997)