Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jul 2001
    Terneuzen, Netherlands
    Thanked 0 Times in 0 Posts

    Save email as file (Outlook2003)

    I am looking for some code that looks at incoming emails and, when they are from a certain person and/or have a certain text in the body, save the body as a file to an external share.

    The first piece (triggering) is possible using normal Outlook rules, I can then trigger a script. That's what I'm looking for a script copies the body to a share. Also, how does the script know on which email it's called?

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Salt Lake City, Utah, USA
    Thanked 5 Times in 5 Posts

    Re: Save email as file (Outlook2003)

    The sub must take the item on which the Rule is currently operating as an argument. And it's easy to get the .Body property of the target item. See Han's explanation and helpful links in <!post=this thread,634,480>this thread<!/post>.
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

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