Searh For Recipient Email address

Status
Not open for further replies.

Jim77

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Hello all

Can anyone provide some code that asks the user for a email address and then searches all sent items boxes for the recipient email address and then shows all the sent items for the address?

I have several email accounts and would like to search through ALL of the sent items boxes.

Is this doable?

Thanks in advance

Jim
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I have this macro - How to Create a Unified Inbox View - that has a macro for a unified sent folder. You'd just need to add an inputbox and pass the results to the search code and add the search refiner to find the To field using code like this:

strTo = InputBox("Who do you want to find?")
txtSearch = "folder: (Sent Mail) to:(""" & strTo & """)"
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
K Use VBA to find Sender and Recipient from Microsfot 365 Journaled Email Items Outlook VBA and Custom Forms 3
B VBScript doesn't run on Recipient Email Outlook VBA and Custom Forms 2
T "Words In Recipient's Address" Rule Causes Outlook To Stop Processing Rules Using Outlook 3
M ERROR: None of your email accounts could send to this recipient Using Outlook 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
Daniel Schunk User-defined form arrives empty at the recipient Using Outlook 3
B Looking to get the Recipient email address (or even the "friendly name") from an email I am replying to using VBA Outlook VBA and Custom Forms 4
D Moving Emails Based on Recipient/Sender Outlook VBA and Custom Forms 4
J Signatures that contain recipient's email address Outlook VBA and Custom Forms 7
broadbander Needing help with reply/reply all while keeping attachments and adding a new CC recipient. Outlook VBA and Custom Forms 5
L Automatically Insert Recipient Name from To Field Outlook VBA and Custom Forms 33
M recipient cache? Using Outlook 2
N Importing Google contacts from CSV file removes recipient names in autocomplete list Using Outlook 0
H How to show recipient email address? Using Outlook 0
R OL2010 - Send to Mail Recipient going to wrong account Using Outlook 1
A Extracting only one recipient from Msgitem.To Outlook VBA and Custom Forms 7
Diane Poremsky Display the Recipient Email Address in the Sent Items Folder New Slipstick.com Articles 0
E Meeting reminders are set for the recipient Exchange Server Administration 9
E Send a Reminder/Task to certain Email Recipient Using Outlook 5
B Recipient of a forwared message getting multiple emails Using Outlook 2
D Outlook VBA to open Excel attachment and send recipient's email address to a workbook cell? Using Outlook 4
E Automatically pick up Recipient's Name on the Body of the Email Message Using Outlook 1
Aussie Looking for Outlook macro to Copy Recipient Names into Email Body Outlook VBA and Custom Forms 3
L Outlook underlining all text after being sent to recipient Using Outlook 3
W Change Template Recipient Automatically - Outlook 2007 Using Outlook 5
L Contact Form - Recipient Control Field Using Outlook 2
F Seeing the recipient in sent emails Using Outlook 1
J 2010 appointment for recipient shows as mail Using Outlook 3
K TextBox on Custom Form Page :: Passing value from sender to the recipient Outlook VBA and Custom Forms 1
K Recipient's name replaced by open and closed brackets! Using Outlook 2
R POP3 Mail repeating while sending to group of recipient Using Outlook 1
J Outlook messagebox with name recipient Using Outlook 1
J Recipient email address doesn't get underlined Using Outlook 4
G Published Email Form Doesn't Display Text Boxes to the Recipient Using Outlook 0
M Including a Public Calendar as a Meeting Recipient Using Outlook 3
N Reply from recipient Using Outlook 5
A 5.7.1 Recipient not authorized, your IP has been found on a block list Using Outlook 1
S Meeting Requests - ex-employee being invite, but not in recipient list Exchange Server Administration 3
M Changing Outlook Account Based on Recipient Using Outlook 15
R OL10 - Send To "Mail Recipient" doesn't go to default email account Using Outlook 23
M Get recipient's email address Outlook VBA and Custom Forms 10
S use the custom form to show meeting request in recipient's calendar Outlook VBA and Custom Forms 1
S Adding a mail address/recipient type field to a form Outlook VBA and Custom Forms 1
E recipient control or suggest name Outlook VBA and Custom Forms 1
J Problems with Outlook.Recipient.Resolve Outlook VBA and Custom Forms 3
G Confirm Each Recipient in a New Outlook Mail Before it is Sent Outlook VBA and Custom Forms 4
G Confirm Each Recipient in a New Outlook Mail Before it is Sent Outlook VBA and Custom Forms 1
B From Inbox Recipient-Printing issue Outlook VBA and Custom Forms 1
B Fields are blank for recipient Outlook VBA and Custom Forms 4
V Recipient's SMTP address Outlook VBA and Custom Forms 1

Similar threads

Top