Run Rule to Rename Email and Add to Tasks

Status
Not open for further replies.

olaithimh

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
I have a rule that runs when a message with certain text in the subject is present. It creates a task from that email. I would like to run the rule (possible use of script) as that message enters my outlook 2010 inbox that will delete a certain number of characters from the beginning of the subject line, and then add to Tasks. Is this possible?

Thanks!
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Yes, it's possible. See Parsing text fields in Outlook - Slipstick Systems - are your stripping things like RE:, [name] and know exactly how many characters you need to strip?

you'd use something like this:

item.subject = right(item.subject, Len(item.subject) - 6)
 

olaithimh

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Yes, I am stripping text like that from the beginning of the subject line. It would be 54 characters alltogether. I'm fairly new to this, so how and where would I exactly input that string?

Thanks!
 
Status
Not open for further replies.
Top