Skip to main content
Inspiring
March 4, 2010
Question

CFPOP mail order

  • March 4, 2010
  • 1 reply
  • 404 views

Hi

Simple question here

I have the following...

<Cfpop name=getmail maxrows =10 action=getall>

THEN

<Cfpop name=getmail maxrows =10 action=delete>

Will the mail be ordered in the same way for each pop request?

I want to delete the same 10 mails.

Thank you

Delon

    This topic has been closed for replies.

    1 reply

    Owainnorth
    Inspiring
    March 4, 2010

    Almost certainly not - even if it does then it's the kind of thing which'll change in future releases and you'll kick yourself for.

    In order to make sure you delete the right message, you'd need <cfpop action="delete" uid="messageuid" />, knowing in advance the message id you're after.

    If you take a look at your other post you'll see I've just posted a suggestion that covers this a little.

    O.