How to search sent/received e-mails from a particular email id through command line: Difference between revisions

(Created page with "__FORCETOC__ <div class="col-md-12 ibox-content"> =How to search sent/received e-mails from a particular email id through command line(CLI)?= <hr> {{KB|{{WIP}}|{{ZCS 8.8}}|{{Z...")
 
No edit summary
Line 22: Line 22:
   $zmmailbox -z -m UserA@example.com s -t message -l 1000 "in:Inbox subject: <subject that you want to search>"
   $zmmailbox -z -m UserA@example.com s -t message -l 1000 "in:Inbox subject: <subject that you want to search>"


The max number of results to return (1-1000, default=25), mailbox search shows only 1000 results.
 
'''Note:''' The max number of results to return (1-1000, default=25), mailbox search shows only 1000 results.

Revision as of 08:40, 11 July 2021

How to search sent/received e-mails from a particular email id through command line(CLI)?


   KB 24327        Last updated on 2021-07-11  




0.00
(0 votes)

Problem

How to search sent/received e-mails from a particular email id through command line(CLI)?


Solution

1) UserA@example.com has received 1000 emails from UserB@example.com

 $ zmmailbox -z -m UserA@example.com s -t message -l 1000 "in:Inbox From:UserB@example.com"


2) UserA@example.com has sent 1000 emails to UserB@example.com

 $ zmmailbox -z -m UserA@example.com s -t message -l 1000 "in:Sent TO:UserB@example.com"

3) Search by subject:

 $zmmailbox -z -m UserA@example.com s -t message -l 1000 "in:Inbox subject: <subject that you want to search>"


Note: The max number of results to return (1-1000, default=25), mailbox search shows only 1000 results.

Jump to: navigation, search