Results 1 to 6 of 6

Thread: outlook email subject...*RESOLVED*

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    outlook email subject...*RESOLVED*

    I am looking for a way to change the subject of an outlook email that is sent to an outlook folder... I really don't know if this is possible.. but if anyone could help I would appreciate it a lot.

    So lets say an email comes into the inbox with a subject of "HELLO" and I want to change the subject after the email comes in to "GOODBYE" would that be possible? I can grab the currrently selected email via VB.. but not sure how you would go about changing the subject... perhaps this is something that you can't change due to security reasons in outlook?
    Last edited by kleinma; Sep 4th, 2002 at 01:13 PM.

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    Matt,

    same advice I give every day --- use the object browser to try to find a method that will do what you want. If it isn't in the object browser, it doesn't exist.

    Oh the other hand, if it IS in the object browser, that doesn't mean you'll be able to find it between now and Christmas !

    Have fun.

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    When pulling in emails try this :

    VB Code:
    1. Item.Subject = "This is a new subject"
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  4. #4

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    ill messa round and see what happens...

    i use the object browser all the time.. but since chaning the subject of an already sent email doesn't sound like something that MS would expose as a method... i was looking more for a way to edit the actual email.. like opening it as binary or something along those lines to actually edit the data... but all emails are kept in the PST file so I don't know how i would even start to do that...

  5. #5

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Well

    Originally posted by James Stanich
    When pulling in emails try this :

    VB Code:
    1. Item.Subject = "This is a new subject"
    james.. you da man... that actually works... i didn't try it because i didn't think it would be that simple.. lol

    well actually it didn't work at first.. but once you set an mailitem object to the currently selected one... you change the subject and then call the .save method.. then it works

  6. #6
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    you da man
    I wasn't sure if it would work or not. You are right seemed to simple of an answer...

    Glad you got it to work...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

Posting Permissions

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



Click Here to Expand Forum to Full Width