Email to Task Rule

Status
Not open for further replies.

TaupeDawg

Member
Outlook version
Email Account
Exchange Server
Since I regularly convert many of my emails into tasks, is there a way to create a rule that will automatically convert emails with a specific subject line, into a task?
 
Here you go - add it to the VBA editor and create a rule to run a script.

Updated: fixed it so the message body is added to the task

Sub ConvertMailtoTask(Item As Outlook.MailItem)
Dim strTaskName As String
strTaskName = Item.Subject

Dim objTask As Outlook.TaskItem
Set objTask = Application.CreateItem(olTaskItem)
objTask.Subject = strTaskName
objTask.StartDate = Item.ReceivedTime
objTask.Body = Item.Body
objTask.Save
Set objTask = Nothing

End Sub
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
P Can I create a Rule that sends me an email when I get a Task? Using Outlook 2
Diane Poremsky Create a Task from an Email using a Rule Using Outlook 0
T Why do Outlook Desktop 2021 tasks from my wife's email show up in my task pane? Using Outlook 2
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
Z VBA to convert email to task, insert text of email in task notes, and attach copy of original email Outlook VBA and Custom Forms 4
D Using a VBA Custom Form to Send Reoccurring Email Upon Task Completion Outlook VBA and Custom Forms 4
W Deleting Sent Task Email, Deletes the task from my list Using Outlook 1
L Email to task without changin formatting Outlook VBA and Custom Forms 16
S Task Update coming as email and not updating task Using Outlook 3
Bachelle Macro to Update Existing Task from New Email Outlook VBA and Custom Forms 3
E Send a Reminder/Task to certain Email Recipient Using Outlook 5
Diane Poremsky Create Tasks from Email and move to different Task folders Using Outlook 0
D Script to parse email and set a task Outlook VBA and Custom Forms 1
S Create task with email URL instead of attachment Outlook VBA and Custom Forms 4
J Format change when dragging from email to Task Using Outlook 1
A Create Task from Email and put body & email as attachment into task notes Outlook VBA and Custom Forms 17
H Create a Task by Draft-EMail > Task+Reminder not Working Outlook VBA and Custom Forms 1
L Creating a Task from Email and Attaching Original Email Outlook VBA and Custom Forms 6
I VBA Recurring Task Converted From Email Using Outlook 2
C Visual Basic auto create task from email including attachments Using Outlook 9
M Send email on task creation? Using Outlook 2
S Tasks are handled through email but deleted email removes task history? Exchange Server Administration 3
A Send Email to Task while sending to Email address Outlook VBA and Custom Forms 1
G Tasks - convert email to task & attach email Outlook VBA and Custom Forms 6
K send email when task changes Outlook VBA and Custom Forms 3
K Copy Entire Email Content - Paste into new Task Outlook VBA and Custom Forms 2
J Outlook macro to run before email is being send Outlook VBA and Custom Forms 0
T Outlook 2010 Creating a email 'Group' in OL 2010 Using Outlook 2
D Send email from Outlook Alias using Mac? Using Outlook 0
T How to set Default FONT for Email composing ? Using Outlook 0
H Finding text in open email Outlook VBA and Custom Forms 12
A Opening a link from an email automatically Outlook VBA and Custom Forms 0
D Outlook 2021 New email reminder Using Outlook.com accounts in Outlook 1
Rupert Dragwater How do I remove an email ending with @gmail.com Using Outlook 4
M A plug in (or method) to keep email message formatting after it expires Using Outlook 1
L VBA to Triage Incoming Email Outlook VBA and Custom Forms 0
R Legacy Outlook on Mac Email Cache Using Outlook 0
P Email address auto-completes work fine on laptop, but no longer on desktop Using Outlook 3
H Copying email address(es) in body of email and pasting in To field Outlook VBA and Custom Forms 1
A Search folder and move the email Outlook VBA and Custom Forms 0
P VBA to add email address to Outlook 365 rule Outlook VBA and Custom Forms 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
D Delete selected text in outgoing email body Outlook VBA and Custom Forms 0
F Graphics in email / Mac recipient garbled Using Outlook 0
D Outlook VBA forward the selected email to the original sender’s email ID (including the email used in TO, CC Field) from the email chain Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to seach in all contact Folders for marked Email Adress Outlook VBA and Custom Forms 0
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
S Email Macros to go to a SHARED Outlook mailbox Draft folder...NOT my personal Outlook Draft folder Using Outlook 2
R Outlook 365 VBA AUTO SEND WITH DELAY FOR EACH EMAIL Outlook VBA and Custom Forms 0
G Print email attachments when hit subfolder Outlook VBA and Custom Forms 1

Similar threads

Back
Top