Re: Rule Wizard and script to initiate e-mail
- From: "Hii Sing Chung" <singchung@xxxxxxxxxxx>
- Date: Sun, 19 Jul 2009 22:18:13 +0800
Thanks. "at the same time" I mean the sent time for these e-mails are the same. I think the e-mail has a property called sent. If there are 9 or more e-mails having this property value exactly the same (same date, same time), then trigger the script to create an e-mail and attach all these 'same time' e-mails.
"Sue Mosher [MVP]" <suemvp@xxxxxxxxxxxxxxx> wrote in message news:uHqNRnVBKHA.4560@xxxxxxxxxxxxxxxxxxxxxxx
1) See http://www.outlookcode.com/article.aspx?id=62 for an example of a "run a script" rule to process incoming messages..
2) How do you define "at the same time"? To implement something like this, you'd need to use a Win32 API timer and the NewMailEx event discussed in that same article, rather than a rule.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Hii Sing Chung" <singchung@xxxxxxxxxxx> wrote in message news:CFD224DF-E317-426B-B6E5-BB51FD19E257@xxxxxxxxxxxxxxxxDear experts,
I am not familiar with Outlook VBA.
I would like to accomplish 2 tasks using Outlook's rule wizard:
1. Whenever an e-mail arrives from ePO server as virus alert with subject "Virus Detected and NOT removed - computername" (The computername is a variable, it is the hostname of the computer that has been infected with virus). The rule should then run a script to compose an e-mail To helpdesk, cc to Security Monitoring Group, with the same subject and attach the mail from ePO server.
2. If 9 or more e-mails arrive from ePO server at the same time as virus alerts with the subject "Virus Detected and Removed - computername", the rule should run a script to compose an e-mail To helpdesk, cc Security Monitoring Group, with the same subject and the attach all the mails with the same timing and same subject.
Can someone give me a idea how I can start? An example with me helpful.
Thanks
Sing Chung
- References:
- Rule Wizard and script to initiate e-mail
- From: Hii Sing Chung
- Re: Rule Wizard and script to initiate e-mail
- From: Sue Mosher [MVP]
- Rule Wizard and script to initiate e-mail
- Prev by Date: Emptying multiple Deleted Items folders
- Next by Date: Re: Emptying multiple Deleted Items folders
- Previous by thread: Re: Rule Wizard and script to initiate e-mail
- Next by thread: Re: Cannot access macro menu in OL2003
- Index(es):
Relevant Pages
|