Your query works for me. It's just that Gmail only shows 50 items per page and 
displays the most recent items first, so you need to page through for the older 
results. (Where it says "1-50 of many" near the top right.)

Note by default it doesn't include the Spam or Trash folders, in case that's 
important to you. You can change which folders it searches using the "Advanced 
search" link

Deborah

-----Original Message-----
From: Code for Libraries <CODE4LIB@LISTS.CLIR.ORG> On Behalf Of charles meyer
Sent: Sunday, 28 May 2023 2:01 pm
To: CODE4LIB@LISTS.CLIR.ORG
Subject: [CODE4LIB] Searching older gmails for attachments

Caution: This email originated from outside our organisation. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


My esteemed listmates,

I'd like to search for all emails with attachments since Jan 1, 2010 through 
May 25, 2023

In the Isearch " field" above all the most recently received Inbox messages it 
was suggested I type in the following

after:01/01/2010 before: 25/05/2023 has:attachment

but that just returns the past month's messages with attachments, not ones from 
2010, 2011, etc.

How have you searched for older emails with attachments in gmail?

Thank you.

Charles.

Charlotte County Public Library

________________________________

"The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, distribution, or copying of 
the contents is expressly prohibited. If you have received this e-mail in 
error, please advise the sender by return e-mail or telephone and then delete 
this e-mail together with all attachments from your system."

Reply via email to