How to limit the number of email documents received from the Read Documents (Email) operator

rileye
rileye New Altair Community Member
edited November 5 in Community Q&A
I'm trying to find a way to limit the number of email documents (either by a count or email date) when using the Read Documents-Email operator.

Best Answer

  • IngoRM
    IngoRM New Altair Community Member
    Answer ✓
    Hi @rileye ,
    Welcome to the forum.  I am afraid that this is not possible since this kind of limit does not seem to be supported by the Java Mail standard we are using for this operator.  So the only option for this would be to regularly fetch the emails from the source and store them in some kind of DWH and fetch only the desired amount or date range from there.  If anybody sees a different solution, please chime in.
    Hope this helps,
    Ingo

Answers

  • IngoRM
    IngoRM New Altair Community Member
    Answer ✓
    Hi @rileye ,
    Welcome to the forum.  I am afraid that this is not possible since this kind of limit does not seem to be supported by the Java Mail standard we are using for this operator.  So the only option for this would be to regularly fetch the emails from the source and store them in some kind of DWH and fetch only the desired amount or date range from there.  If anybody sees a different solution, please chime in.
    Hope this helps,
    Ingo
  • sgenzer
    sgenzer
    Altair Employee
    yes if it were me I would investigate using Zapier...it's likely you could rig up something there that you could then send to RapidMiner.