Re: Rule Wizard and script to initiate e-mail

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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@xxxxxxxxxxxxxxxx
Dear 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





.



Relevant Pages

  • Re: Rule Wizard and script to initiate e-mail
    ... Whenever an e-mail arrives from ePO server as virus alert with subject ... The rule should then run a script to compose an e-mail To ...
    (microsoft.public.outlook.program_vba)
  • Rule Wizard and script to initiate e-mail
    ... Whenever an e-mail arrives from ePO server as virus alert with subject "Virus Detected and NOT removed - computername". ...
    (microsoft.public.outlook.program_vba)
  • Re: Viruses and Linux
    ... There are a difference between *nix systems and microsoft windows, ... So the one who writes say an Evolution script, this scriptwriter, if he wants ... Next you need to get the virus to the next machine, ...
    (alt.os.linux)
  • Re: Help fails
    ... Basically something has killed my ability to run "Help and Support" ... I did find this after posting and ran the VB script. ... check even though I have not heard of a virus doing this but none ... I know one of the file cleaning programs can cause this and I ...
    (alt.os.windows-xp)
  • Re: Disable multiple computers logon
    ... > script appended username, computername, date/time, and IP address to a text ... a malicious user could modify the logs. ... > script removes the line added by the logon script, so it must search for the ...
    (microsoft.public.windows.server.scripting)