Using VBA or Ad-in for Outlook 2010 to copy new email subject to the message -
using vba or add-in or different automatic method want following:
when create new email , before send it, copy subject of email , paste @ beginning of text message. after sending email, recipient see subject in subject box before , see @ the top of message.
for example:
before:
subject: new schedule
message: monday, wednesday, friday
after applying macro or other automatic methods:
subject: new schedule
message:
new schedule
monday, wednesday, friday
any example if possible?
you can handle itemsend event of application class may modify message body. fired whenever microsoft outlook item sent, either user through inspector (before inspector closed, after user clicks send button) or when send method outlook item, such mailitem, used in program.
the outlook object model provides 3 main ways working item bodies:
- body.
- htmlbody.
- the word editor. wordeditor property of inspector class returns instance of word document represents message body. so, you can use word object model whatever need message body.
see chapter 17: working item bodies more information.
Comments
Post a Comment