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:

  1. body.
  2. htmlbody.
  3. 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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -