Insert text in body of e-mail form

S

Sharon L.

Hi, I've searched and can't find the answer to something it seems I should be
able to figure out on my own. We've figured out how to create a form e-mail
in Outlook (2003 & 2007) as far as "to," "cc" and "subject." However, we
can't figure out how to insert standard text into the body of the message
itself. Our signature appears automatically, but we can't add anything else.
This is probably something ridiculously simple, but it's sure got us
stumped. Any help would be appreciated!!

Thanks!
 
K

Ken Slovak - [MVP - Outlook]

If item is your mail item then use item.Body or item.HTMLBody. HTMLBody must
be in proper HTML format and syntax. Both are read/write properties.
 
S

Sharon L.

Thanks for the response - I can't find "item" or "body." I'm using Outlook
2007, can you tell me where this option is located?

Thanks!
 
K

Ken Slovak - [MVP - Outlook]

It's not an option, you have a MailItem and the object variable representing
that item is called "item" (or whatever you call it). That item has Body and
HTMLBody properties. Look in the Object Browser for the properties, methods
and events for the MailItem type.

You are using code to do all that with your email? If not you just have to
open the item and add your text manually.
 
S

Sharon L.

No codes, just use "Tools/Forms/Design a Form." I chose "message" to create
a form e-mail. It lets me insert the "to," "cc" and "subject" fields, but
won't let me click into the body of the e-mail itself to add standard text.
For example, on one file we communicate with an insurance company via e-mail,
but send the insured copies by regular mail. I want to put "cc: John Doe"
in the body of the form e-mail so it will always be there and we don't have
to remember to add it every time.

Thanks for your help!
 
K

Ken Slovak - [MVP - Outlook]

No way to do that without using code. You can use the Item_Load event in the
form code to add text as indicated, in that case the line would set the text
using the Item.Body property. You can find out more about form code at
www.outlookcode.com.
 
S

Sharon L.

Thanks - while it wasn't the answer I was *hoping* for, at least it gets me
headed in the right direction! Appreciate the input.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top