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?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
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
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
F Add a category before "Send an Email When You Add an Appointment to Your Calendar" Outlook VBA and Custom Forms 0
T Problem when requesting to view an email in a browser Using Outlook 0
J Outlook 365 Forward Email Subject to my inbox when new email arrive in shared inbox Using Outlook 0
HarvMan Archive Email Manually Using Outlook 0
L Fetch, edit and forward an email with VBA outlook Outlook VBA and Custom Forms 2
S New Email "From" box stopped working Using Outlook 0
Rupert Dragwater Duplicate email in Folder Using Outlook 7
M "Attachment Detacher for Outlook" add in, does it update the server copy of the email? Using Outlook 1
W Outlook 365 I am getting the "Either there is no default mail client" error when I try to send an email on excel Office 365 Using Outlook 1
MattC Changing the font of an email with VBA Outlook VBA and Custom Forms 0
L Specific Incoming Email Address Immediately Deleted Using Outlook 2
Witzker Outlook 2019 Macro to send an Email Template from User Defined Contact Form Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Edit contact from email does not open the user defined contactform Using Outlook 3
V Macro to mark email with a Category Outlook VBA and Custom Forms 4
R Roadrunner Email Settings | Contact Roadrunner Customer Support Outlook VBA and Custom Forms 1
D Gmail mail is being delivered to a different email inbox in Outlook App 2021 Using Outlook 2
Albert McCann Outlook 2021 Outlook Display of HTML Email from two senders is glitchy Using Outlook 0
A How Do I Setup My Optonline.Net Email Account? Outlook VBA and Custom Forms 1
H Preventing the 'email address fetch from Exchange' crashing email reading code Exchange Server Administration 0
D multiple email accounts - why do I have to choose the "from" account address?? Using Outlook 2
Wotme create email only data file Using Outlook 1
F Outlook 2016 Email with attachments not being received Using Outlook 3
J Outlook 2019 Regex email addresses from body Outlook VBA and Custom Forms 6
D Prompt to prefix subject line whenever sending an email Outlook VBA and Custom Forms 3
J Quick steps delete original email and move reply/sent email to folder Using Outlook 2
C Wishlist Extract or scan new email addresses from out of office replies. Leads from OOO replies Using Outlook 1

Similar threads

Top