The Message control is linked to fieldthe only field in which you objects items and hyperlinks

Figure 6.16 - At design time or run time, you can insert files, items, hyperlinks, and objects in the Message field.

Due to the attachment security feature of Outlook 2002, you should not insert many of the file types listed in this section into a message body. The same warning applies if you have upgraded Outlook 2000 or Outlook 98 with the Outlook E-Mail Security Update. Outlook 2002 attachment security prevents access to the following items inserted into a message body:

® .Ink (Exchange shortcut) ® .url (Internet shortcut) ® Embedded OLE objects ® Level 1 attachments For additional details, see Chapter 13, "Distributing and Securing Applications."

Restrictions and Rules for Message Control Usage

When working with the Message field and Message control, there are a few guidelines you should be aware of: ® The Message control is automatically bound to the Message field.

• Each form can contain only one Message control per page. For example, the Compose page of a form can contain a Message control and the Read page can contain a Message control.

® You cannot have a Message control on the Message page and a duplicate control or following the Compose or Read page.

® If the form does not have the Separate Read Layout option selected on the Form menu for the page that contains the Message control, the form can contain only one Message control.

• The Message control is the only control on a form in which you or the user can insert files, items, or objects. ® The form must be in Run mode to enter information into the Message control.

The Outlook E-Mail Security Update

Outlook 2002 contains a set of security features known as the Outlook E-Mail Security Update. Introduced to combat e-mail viruses that use an attachment to exploit object model access to the Global Address List or Contacts folder, the Outlook E-Mail Security Update provides both attachment and object model guards. Outlook 2002 and Outlook 2000 SP-2 or later contain the Outlook E-Mail Security Update; Outlook 2000 SR-1 requires that you install the Outlook E-Mail Security Update. For additional details on this security update, including how to set administrative options in a Microsoft Exchange Server environment, see Chapter 13.

The default e-mail format in Outlook 2002 is Rich Text, and Word is the default e-mail editor. Most of the instructions that follow pertain only to using Outlook as the default e-mail editor. You can change the default e-mail editor and format on the Mail Format page of the Outlook Tools Options dialog box.

To insert a file attachment or shortcut in the Message control

1. In Run mode, click in the Message control where you want to insert the file attachment or shortcut.

2. On the Insert menu, click File.

3. Locate and click the file you want to insert.

4. Under Insert, click an option. If you are using a version of Outlook with the Outlook E-Mail Security Update installed, you cannot insert a folder shortcut.

To insert an item in the Message control

1. In Run mode, click in the Message control where you want to insert the item.

2. On the Insert menu, click Item.

3. In the Look In drop-down list box, click the folder that contains the item you want to insert, and then click the item.

4. Under Insert As, click an option. If you are using a version of Outlook with the Outlook E-Mail Security Update installed, you cannot insert a folder shortcut.

To insert a folder shortcut in the Message control

® In Run mode, using the right mouse button, drag the folder from the Folder List to the Message control. If you are using a version of Outlook with the Outlook E-Mail Security Update installed, you cannot insert a folder shortcut.

To insert a URL shortcut in the Message control

1. First create a Uniform Resource Locator (URL) shortcut on the Windows desktop using your Web browser.

2. In Run mode, drag the URL shortcut from the desktop to the Message control. If you are using a version of Outlook with the Outlook E-Mail Security Update installed, you can drag the URL into the message body. However, you can't be certain that the message recipient will able to see the URL shortcut. This is because URL shortcuts are treated as Level 1 attachments by the Outlook E-Mail Security Update. (For additional details, see Chapter 13.) For this reason, inserting a hyperlink in the Message control is preferable.

To insert a hyperlink in the Message control

® In Run mode, type the hyperlink in the Message control. When you type http: //or one of the supported protocols, the text is automatically underlined and the color is changed to blue by default. For example, to create a hyperlink to the Building Microsoft Outlook 2002 Applications root folder using the Outlook protocol, you specify the following hyperlink in the Message control:

Outlook://Building Microsoft Outlook 2002 Applications/

If the hyperlink includes spaces, you must enclose the entire address in angle brackets <>. If you are using WordMail, you should end the hyperlink with a carriage return after the closing angle bracket (>). Notice in the examples below that file names use the forward slash (/) instead of the traditional backslash (\). If you want the hyperlink to open an item in the subject for the item that you want to open. Duplicate subjects in the folder can yield unpredictable results. For information about URL addressing in Exchange 2000, see the Exchange 2000 sidebar. Valid hyperlink examples are as follows.

<file://c:/program files/microsoft office/office/msowcvba.hlp/>

<outlook://public folders/all public folders/Product ldeas/~Kayak Construction Kits>

<outlook:inbox/>

<h ttp://msdn. microsoft, com/exch ange> <file:////ServerName/ShareName/exchsrvr/bin/cdo.hlp/>

If you want the hyperlink to point to default folders in the current user's mailbox, don't add the double forward slash (//) after outlook:protocol. Valid examples are outlook:Contactsar\6 outlook:Tasks.

Here are the supported protocols:

Protocol Description

file://

A protocol used to open files on an intranet. If you are using a version of Outlook with the Outlook E-Mail Security Update installed, you will see the Opening Mail Attachment dialog box when you click the file URL. You have the option of saving the attachment or opening it directly.

ftp://

File Transfer Protocol (FTP), the most common method used to transfer files over the Internet.

gopher://

Gopher protocol, by which hyperlinks and text are stored separately.

http://

Hypertext Transfer Protocol (HTTP).

https://

Hypertext Transfer Protocol Secure; a protocol designed to provide secure communications using HTTP over the Internet.

mailto://

A protocol used to send mail to an e-mail address. When the recipient clicks this hyperlink, a new message opens with the mailto e-mail address filled in.

news://

A protocol used to open an Internet newsgroup for recipients who are connected to an NNTP server.

nntp://

Network News Transfer Protocol, a protocol used to distribute, inquire about, retrieve, and post Usenet articles over the Internet.

outlook://

A protocol used to open an Outlook folder or an item or file in Outlook. This protocol is supported only in Outlook.

prospero://

A protocol used to organize Internet resources in your personal set of hyperlinks that go to information on remote file servers; for your personal virtual file system.

telnet://

The Internet standard protocol for logging on from remote locations.

wais://

Wde Area Information Servers protocol, a distributed information system used to retrieve documents based on keywords you supply.

To insert an object in the Message control

1. In Run mode, click in the Message control where you want to insert the object.

2. On the Insert menu, click Object. If you are using a version of Outlook with the Outlook E-Mail Security Update installed, the Object command will be unavailable and you will not be able to insert an embeddedobject. If your message recipient is using a version of Outlook with the e-mail security update installed, he or she will not be able to access the embedded object.

3. In the Insert Object dialog box, click the Create From File button.

4. In the Create From File text box, type the name of the file that you want to link or embed in the Message control, or click Browse to select from a list.

® To create a linked object, select the Link To File check box.

® To show the object as an icon, select the Display As Icon check box. You can see the Link To File check box when Create From File is selected.

0 0

Post a comment