Hi See the documentation and its examples https://camel.apache.org/components/latest/mail-component.html
On Mon, Jun 28, 2021 at 7:23 AM Bikash Kaushik <kaushikbikas...@gmail.com> wrote: > > Dear Team, > > I want to fetch mail using the filter on a sent date. Below code I'm > trying, but getting error : > > <from uri="imaps:// > imap.gmail.com:993?username={{spring.mail.username}}&password={{spring.mail.password}}&delete=false&searchTerm.toSentDate=${date:now-24h:yyyy-MM-dd}&consumer.delay=10000 > "/> > > *Error : Unparseable date.* > > -- > > > *Regards,* > *Bikash Kaushik* -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2