Even easier is to have separate email addresses for list signup, removal, etc. You can make the different addresses aliases and direct everything to the same mailbox. When you retrieve them you don't need to read the message body itself. All your info is in the headers (to: and from:). If you use something like CFPOP there's nothing to parse. It's a bit more foolproof, as well, for the inevitable user that can't spell 'remove'.
Jim ----- Original Message ----- From: "Michael Dinowitz" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 11:25 PM Subject: Re: CF and Mailing Lists > Most mailing lists read only the first line to process commands. You can > get that by using > ListFirst(postbody, chr(13)) > This will take the postbody and return the first line. From there, you > can search the string for commands. The Regular Expression (RE) tags are > rather good for this. > > > > Hello All, > > > > I am trying to figure out how to read an email (subject and body) for > > certain commands, and base don those commands I want to subscibe and > > unsubscribe people to an email list my client has going for a small > e-comm > > site. Any ideas.. I have never done this before. > > > > Thanks, > > > > Michael T. Tangorre > > > > ========================== > > Resident Assistant - Brick > > Web Applications Developer > > A.U. Webteam Slave :-) > > AIM: CrazyFlash4 > > ========================== > > > > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

