Outlook 2010 – Send email based on categories

Status
Not open for further replies.

valentin

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

I'm using Outlook 2010, and I use the Categories feature to assign emails to different persons. The categories are custom and they have already the names of the persons(e.g. John, Diane, Smith...).
I would like to know is possible to create macros and based on category I select an email to be sent to the person or person I select.
The inbox it’s share inbox and multiple persons have access to it. But is not the main inbox so some of them will not know if a email is assign to them.

Thank you.
 

Forum Admin

Senior Member
an item change macro should be able to do that. i might have some samples that can easily be changed to do this.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
This code will do it -

Code:
Public WithEvents OlItems As Outlook.Items
Public Sub Initialize_handler()
   Set OlItems = Application.GetNamespace("MAPI"). _
        GetDefaultFolder(olFolderInbox).Items
End Sub
Private Sub OlItems_ItemChange(ByVal Item As Object)
      
If Item.Categories <> "" Then
Dim olMail As Outlook.MailItem
Set olMail = Application.CreateItem(olMailItem)

With olMail
        .To = Item.Categories
        .Display
End With
End If
End Sub
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
N Outlook 2010 will not send nor receive Using Outlook 4
E How to send automatic emails in outlook 2010 Using Outlook 1
N VBA Script to Send Automatic Emails from Outlook 2010 Outlook VBA and Custom Forms 1
D Outlook 2010 hangs during message send/receive Using Outlook 2
S Outlook 2010 won't send on Windows 8 Using Outlook 2
S Outlook 2010 I am getting error code 0x8DE00006 'the operation failed'. outlook 2010 send/receive progress Using Outlook.com accounts in Outlook 2
R Outlook 2010 Send from other email address uses account address instead Using Outlook 1
N Outlook 2010 take long time in send / receive Using Outlook 1
J Email won't send Automatically in Outlook 2010 Using Outlook 3
H outlook 2010 email can't send to other domain Using Outlook 1
H Outlook 2010 unable to send iCloud account e-mail after iOS 7 upgrade Using Outlook 12
R outlook 2010 can't send email Using Outlook 0
I How to send just a few emails at a time to a large group in Outlook 2010 Using Outlook 3
O Outlook 2010 Stops Working When Accounting Application Tries To Send eMail Using Outlook 4
0 Outlook 2010 causes computer to lose connection when opening and Send/Receive Using Outlook.com accounts in Outlook 14
D Emails stuck in Outbox, not receiving emails, Outlook 2010 auto send/receive Using Outlook 4
J Outlook 2010 will not send messages due to Date: None Using Outlook 1
D outlook 2010 table format lost on send Using Outlook 1
R Outlook 2010 Not Recieiving Emails Automatically, Have tohit Send / Recieve Using Outlook 1
T Outlook 2010 manually actioning of send and receive? remove auto actioning Using Outlook 4
D Outlook 2010 Fails to Send Messages To One Domain Using Outlook 6
I Send Secure Email Through Microsoft Outlook 2007 and 2010 (32 bit) Using Outlook 0
I Send Secure Email Through Microsoft Outlook 2007 and 2010 (32 bit) Using Outlook 0
B Send/Receive Status in Outlook 2010 Using Outlook 2
K Outlook 2010 'cannot send on behalf of' when changing calendar apointment Exchange Server Administration 0
H Outlook 2010 : Error while preparing to send sharing message Exchange Server Administration 8
A Outlook 2010 - can't send/receive data file cannot be accessed Using Outlook 10
S Adding a recipient's column to Sent folder in Outlook 2010 Outlook VBA and Custom Forms 1
e_a_g_l_e_p_i Can emails from Gmail be deleted when they are downloaded to Outlook 2010 Using Outlook 1
L Outlook 2010 Outlook 2010 Outlook VBA and Custom Forms 2
C What folders are needed when reinstalling Outlook 2010 Using Outlook 0
e_a_g_l_e_p_i Gmail in Outlook 2010 preview issue Using Outlook 4
e_a_g_l_e_p_i Outlook 2010 Help setting up Gmail account in Outlook 2010 Using Outlook 3
B Outlook 2016 Unable to view images or logos on the outlook 2016 emails the same html code works well when i use outlook 2010 Using Outlook 0
M Outlook 2010 Outlook 2010 with O365 / Exchange Online Using Outlook 0
F Outlook 2010 Outlook 2010 and GMail Using Outlook 0
D Outlook 2007 vs. Outlook 2010 -- ToDo Bar Using Outlook 0
e_a_g_l_e_p_i I think it may be time to upgrade from Outlook 2010 Using Outlook 3
T Why does outlook 2010 convert only some forum notifications to plain text? Using Outlook 0
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M Outlook 2010 Problem with OutLook 2010 32 bit, after Windows Auto Update Using Outlook 3
M PST import from Outlook 2007 to 2010 - Address Book contacts all in 1 group Using Outlook 4
D Outlook 2010 account setup fails in particular domain Using Outlook 3
B Outlook 2010 is Auto Purging when not configured for that Using Outlook 1
W Outlook 2010 Reading Pane Slows Startup Using Outlook 3
S Outlook 2010 unable to change default font Using Outlook 7
B Outlook 2010 Can not find a certain file in M/S Outlook 2010. Using Outlook 1
Mark Foley Cannot enable add-in in outlook 2010 Using Outlook 0
W Outlook 2010 some sent items marked unread now (was Ok before) Using Outlook 0
RBLampert Updating from Outlook 2010 to Outlook 365 Using Outlook 0

Similar threads

Top