I would avoid using cfpop if you're on cfmx. I had lots and lots of problems with it not recognising mime types, and it wouldn't let you do anything until your cleared the account of all e-mails, as it wouldn't tell you which e-mail was broken and wouldn't even tell you what e-mails there were in the account.
In the end I had to use the tcp/ip com object from http://www.intrafoundation.com to low level interrogate the pop server and retrieve the e-mails. It was rather annoying (although the com object gave better performance than cfpop) > -----Original Message----- > From: Allan Cliff [mailto:[EMAIL PROTECTED] > Sent: 20 June 2003 08:59 > To: CF - List > Subject: [ cf-dev ] Get an email address out of a block of text > > > What I am trying to do is the following. > > Every so often we send out tens of thousands of emails and a > few thousand of these come back either as invalid mail > address, full mailbox or incorrect syntax of email. > > So what I want to do is schedule cfpop to take these off the > server and then look in the body of these emails and get the > culprit out. Then mark them in the database so they have to > enter a correct mail address. > > So how would I go about getting the email address out of the > following example. > Also bear in mind that every mail host sends a different kind > of mail so the text block will always be different. > > ---------------------------------------------------------------------- > Reporting-MTA: Arrival-Date: Fri, 20 Jun 2003 02:01:01 +0000 (GMT) > > Final-Recipient: rfc822; [EMAIL PROTECTED] > Action: failed > Status: 5.0.0 > Diagnostic-Code: X-Postfix; host > abcdef.whitehouse.com[65.39.178.33] said: 554 > <[EMAIL PROTECTED]>: Recipient address rejected: Account > expired------------------------------------------------------- > --------------- > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
