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.
Thread starter Similar threads 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
Z Outlook 2010-Hotmail Send & Receive Errors Using Outlook 5
W Send Text Message SMS to Global Address Book Recipient Through Outlook 2010 Using Outlook 2
B Outlook 2010 wont send mail today Using Outlook 9
D I am having the problem that Outlook 2010 is checking for email via send /receive approximately every thirty seconds. Using Outlook 2
B uable to send/receive email in MS Outlook 2010 Using Outlook 2
B Outlook 2010 won't send or receive after update Using Outlook 4
T How can I send e-mail from an Access 2010 application using Outlook not CDO Using Outlook 1
P How do I access my address book lists in Outlook 2010 so that I can send e mails to group members Using Outlook 1
T Can't receive or send e-mail in Outlook after downloading latest Windows updates on Tuesday, 14 Dec 2010, at 6:00 pm. Using Outlook 3
C can't send email with new Outlook 2010 Using Outlook 2
D Outlook 2010 won't perform Send/Receive on IMAP folders as scheduled Using Outlook 2
O outlook 2010 - trying to send JPG attachments, but they are automatically converted into DAT files a Using Outlook 2
L Outlook 2010 "Send/Receive" Ribbon very slow Using Outlook 6
R Outlook 2010 doesn't send automatically Using Outlook 2
N Multiple errors with Outlook 2010 - Won't receive Hotmail emails; but will send fine. Using Outlook 3
P After window 7 idle for few minutes then outlook 2010 stop send and receive Using Outlook 2
K No "Send" button in Outlook 2010 Mail Using Outlook 3
B Outlook 2010. Cannot access my Contacts from clicking 'To' butto to find an email send address. Using Outlook 2
D Outlook 2010 - Send notification when stuck in outbox Using Outlook 1
S Outlook 2010 can not send email outside Using Outlook 1
V Re: I can send but not receive emails in Outlook 2010 on Windows 7 Using Outlook 2
V I can send but not receive emails in Outlook 2010 on Windows 7 Using Outlook 2
A Outlook 2010 Exchange / SMTP: unable to send Using Outlook 2
C Live Messenger does not send email messages to Outlook 2010 Using Outlook 3
Similar threads


















































Top