vba - Cannot Set Properties on MailItem -
To run yuno on anything with the subject "test1" as my subject A rule has been created (I restarted after setting it):
< / P>
My code looks like this:
SubUnno (MailItem as ByRef mymail) mymail.MarkAsTask olMarkToday mymail.TaskDueDate = now mymail.ReminderSet = True Debug.Prinint " YU NO? " Receiving an e-mail with the subject "Test 1" as the subject is printed "You You No", but it does not get a little red flag in Outlook. It is said that this code will flag the right object here: But it appears that the problem is running as a rule.
I recommend that there is missing
mymail.Save < / Code>
Comments
Post a Comment