|
-
Sep 4th, 2002, 10:06 AM
#1
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.
-
Sep 4th, 2002, 10:39 AM
#2
PowerPoster
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.
-
Sep 4th, 2002, 11:37 AM
#3
PowerPoster
Well
When pulling in emails try this :
VB Code:
Item.Subject = "This is a new subject"
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Sep 4th, 2002, 12:39 PM
#4
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...
-
Sep 4th, 2002, 12:52 PM
#5
Re: Well
Originally posted by James Stanich
When pulling in emails try this :
VB Code:
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
-
Sep 4th, 2002, 01:03 PM
#6
PowerPoster
Well
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|