Thanks, that is what I am in the process of doing now, I was more wondering
if there were any protocol issues here where one method would be considered
"more propper" than the other.

  _____  

From: Kola Oyedeji [mailto:[EMAIL PROTECTED]
Sent: 21 June 2004 11:32
To: CF-Talk
Subject: RE: CFPOP streamlining

James you could well be right, it may actually be quicker to download
and then ignore the additional emails as opposed to constantly
opening/closing connections to the mail server - I would test both
options and see which one performs better.

Kola

-----Original Message-----
From: James Smith [mailto:[EMAIL PROTECTED]
Sent: 21 June 2004 11:06
To: CF-Talk
Subject: CFPOP streamlining

I have a template that retrieves mail and processes it to extract order
information using cfpop.  At any one time it can be retrieving up to 300
emails of which around 200 will be orders, the rest will be a mixture of
junk and correspondence aimed at the human who reads the account.

I am currently doing a cfpop to retrieve the headers only, then looping
over
these doing another cfpop for each to get the message body resulting in
200+
pop connections in total.

Would it be better to just do one connection, retrieve everything, and
simply ignore to 100 message bodies I am not interested in?

--
James Smith
[EMAIL PROTECTED]

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004
  _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to