Results 1 to 2 of 2
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    I say Filters you say Rules (Outlook 2000 and >)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    Is it possible to write customized filters, or rules via VBA?

    I am looking for a rule that would send a reply to a message based on its subject.

    Also maybe have some rules that act on a message based on multiple conditions.

    If anyone has any sample code, to get me started that would be great.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: I say Filters you say Rules (Outlook 2000 and >)

    > Is it possible to write customized filters, or rules via VBA?
    > I am looking for a rule that would send a reply to a message based on its subject.

    Yes, I've never tried to do this, but since my spam filter obviously checks every new message coming it, it must be possible for VBA (or a COM Add-in) to hook into that and take actions based on the contents. You will, though, be bothered by security prompts unless you use a third party library like Outlook Redemption to generate your reply messages. Thus, in reviewing sample code, bear in mind that any access to the recipients (to or cc or bcc) or using the Send method will have to be rewritten to some extent to avoid insanity.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •