Assign a Unique Number to Incoming Outlook Emails

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to have Outlook auto-assign a unique number to each email
(perhaps putting it at the beginning of the Subject line like "1000 - "?

Thanks,
Ray
(e-mail address removed)
 
Ray,

You could easily append/prepend to the subject of an email during a "run a
script" rule:
Sub AddUniqueIDToSubject(Item As MailItem)
Item.Subject = Item.Subject & "{" & CDbl(Now()) & "}"
Item.Save
End Sub

Add the above macro, then AddUniqueIDToSubject will be available in the "run
a script" list of scripts.

The above method of generating a unique value is reasonably effective.
Better methods are available; I'll leave that as a exercise.

-- Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top