Re: reading a email

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30655
interpreted = N
texte = Create your inbound email account in SIMS and have it save email as a fileCreate the folder you want your incoming emails to be in (in your web path)Make an alias of that incoming email folder and replace the SIMS email account with the alias (with the proper email account name)You now have a text file with your SKU in it.Then do a [listfiles] to get the filename of any new files (I would use a trigger to check every xx minutes)Then you can (I think) do the following: [Middle StartAfter=SKU&EndBefore=XX] email test [include file=email.txt] (get this filename from Listfiles) I just tried this and it works, however, you have to be careful that you have defined your start and end matches really well. I included the previous email and the word SKU was in there a couple of times. I couldn't get [middle] to only find an UPPERCASE SKU, maybe there is a way, but I didn't see it.-- Dale Therio +49 69 263 19977 office Dresdner Kleinwort Benson Research +49 69 263 11379 fax Jürgen-Ponto-Platz 1 +49 170 934 3610 mobile 60301 Frankfurt, Germany > From: Aaron Lynch > Reply-To: (WebCatalog Talk) > Date: Thu, 20 Apr 2000 02:25:33 > To: (WebCatalog Talk) > Subject: Re: reading a email > > on 4/20/00 2:03 AM, dale@gmr.dresdner.net at dale@gmr.dresdner.net wrote: > >> Umm.. the co-worker that sits next to me has a WAP phone. They do exist and >> are available (at least in Germany). > > > (at least in Germany) <-SIGH > not here, I'm told 2 months, so I figure that by December I might be able to > get my hands on one. :) > >> >> Can you require that the send it as 'sku 34343434'? then you could search on >> the 'sku' and deal with whatever is after it, up to a certain number of >> chars. > > Right, but how do I get webcatalog to read the mail, and then also ignore > all the headers, I'm thinking I have to do this with applescript but I don't > know how. > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: reading a email - I GOTS IT! (Aaron Lynch 2000)
  2. Re: reading a email (Joseph D'Andrea 2000)
  3. Re: reading a email (Aaron Lynch 2000)
  4. Re: reading a email (Joseph D'Andrea 2000)
  5. Re: reading a email (Aaron Lynch 2000)
  6. Re: reading a email (Joseph D'Andrea 2000)
  7. Re: reading a email (Joseph D'Andrea 2000)
  8. Re: reading a email (dale@gmr.dresdner.net 2000)
  9. Re: reading a email (Aaron Lynch 2000)
  10. Re: reading a email (dale@gmr.dresdner.net 2000)
  11. Re: reading a email (Aaron Lynch 2000)
  12. Re: reading a email (dale@gmr.dresdner.net 2000)
  13. reading a email (Aaron Lynch 2000)
Create your inbound email account in SIMS and have it save email as a fileCreate the folder you want your incoming emails to be in (in your web path)Make an alias of that incoming email folder and replace the SIMS email account with the alias (with the proper email account name)You now have a text file with your SKU in it.Then do a [listfiles] to get the filename of any new files (I would use a trigger to check every xx minutes)Then you can (I think) do the following: [Middle StartAfter=SKU&EndBefore=XX] email test [include file=email.txt] (get this filename from Listfiles) I just tried this and it works, however, you have to be careful that you have defined your start and end matches really well. I included the previous email and the word SKU was in there a couple of times. I couldn't get [middle] to only find an UPPERCASE SKU, maybe there is a way, but I didn't see it.-- Dale Therio +49 69 263 19977 office Dresdner Kleinwort Benson Research +49 69 263 11379 fax Jürgen-Ponto-Platz 1 +49 170 934 3610 mobile 60301 Frankfurt, Germany > From: Aaron Lynch > Reply-To: (WebCatalog Talk) > Date: Thu, 20 Apr 2000 02:25:33 > To: (WebCatalog Talk) > Subject: Re: reading a email > > on 4/20/00 2:03 AM, dale@gmr.dresdner.net at dale@gmr.dresdner.net wrote: > >> Umm.. the co-worker that sits next to me has a WAP phone. They do exist and >> are available (at least in Germany). > > > (at least in Germany) <-SIGH > not here, I'm told 2 months, so I figure that by December I might be able to > get my hands on one. :) > >> >> Can you require that the send it as 'sku 34343434'? then you could search on >> the 'sku' and deal with whatever is after it, up to a certain number of >> chars. > > Right, but how do I get webcatalog to read the mail, and then also ignore > all the headers, I'm thinking I have to do this with applescript but I don't > know how. > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to dale@gmr.dresdner.net

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:

Price problem (1997) WebCat2 - [format thousands] (1997) Trigger alternatives please ... (2004) Authorize.net, SIM, tcpconnect and applescript (2003) POS (2000) WCS Newbie question (1997) Happy New Year (2008) Trunk-gator (1997) Firesite and [referrer] atg broke (1997) suggestion (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Server crash (1997) OK, here goes... (1997) Gil's in the lead (1999) PCS Frames (1997) EmailCompleted Clean Up (2001) nested showif? (1998) docs for WebCatalog2 (1997) Items XX to XX shown (1997) Help Encrypt/Decrypt eMail (2003)