WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Rule Wizard and script to initiate e-mail

 
   Home -> Office -> Programming VBA RSS
Next:  formula to insert time of day in excel cell  
Author Message
Hii Sing Chung

External


Since: Jul 13, 2009
Posts: 2



(Msg. 1) Posted: Sun Jul 12, 2009 1:05 pm
Post subject: Rule Wizard and script to initiate e-mail
Archived from groups: microsoft>public>outlook>program_vba (more info?)

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
Back to top
Login to vote
Sue Mosher [MVP]

External


Since: Mar 24, 2009
Posts: 22



(Msg. 2) Posted: Wed Jul 15, 2009 10:37 am
Post subject: Re: Rule Wizard and script to initiate e-mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.DeleteThis@hotmail.com> wrote in message
news:CFD224DF-E317-426B-B6E5-BB51FD19E257@microsoft.com...
> 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
>
>
>
Back to top
Login to vote
Hii Sing Chung

External


Since: Jul 13, 2009
Posts: 2



(Msg. 3) Posted: Sun Jul 19, 2009 11:05 am
Post subject: Re: Rule Wizard and script to initiate e-mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@turtleflock.com> wrote in message
news:uHqNRnVBKHA.4560@TK2MSFTNGP05.phx.gbl...
> 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.RemoveThis@hotmail.com> wrote in message
> news:CFD224DF-E317-426B-B6E5-BB51FD19E257@microsoft.com...
>> 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
>>
>>
>>
>
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support