Script to parse email and set a task

Not open for further replies.

Danny B

Outlook version
Outlook 2013 64 bit
Email Account

im looking to create a vb script for outlook 2013 that will parse emails received from a specific address for a service id, customer, store#, a start date and time and a end date and time and create a automatic task with the specified strings and assign it to a category.

Any help greatly appreciated.

Thank you

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
You can use a rule to identify the messages, then run a script by the rule, which must be declared like this:
sub Anyname(Mail as Outlook.MailItem)
' your code here
end sub
You'll find some examples in this forum for how to use regex to extract certain values from a text.
Not open for further replies.