Previous PageNext Page

11.1.1 Property Details

11.1.1.1 To (String: Read/Write)

The value you use to set the To property can represent a single recipient or a list of recipients. Each recipient must be represented by a full messaging address:
"useraddress@company.com"

Multiple recipients on the list are separated by semicolons:
"user1@company1.com;user2@company2.com;user3@company3.com"

If both the To property and the To parameter of the Send method are supplied, the mail message is sent to all recipients on both lists.

11.1.1.2 From (String: Read/Write)

A string of what should be sent as the From part of the message header. May not include spaces.

11.1.1.3 Cc (String: Read/Write)

The value you use to set the Cc property can represent a single recipient or a list of recipients. Each recipient must be represented by a full messaging address:
"useraddress@company.com"

Multiple recipients on the list are separated by semicolons:
"user1@company1.com;user2@company2.com;user3@company3.com"

11.1.1.4 Bcc (String: Read/Write)

The value you use to set the Bcc property can represent a single recipient or a list of recipients. Each recipient must be represented by a full messaging address:
"useraddress@company.com"

Multiple recipients on the list are separated by semicolons:
"user1@company1.com;user2@company2.com;user3@company3.com"

11.1.1.5 Subject (String: Read/Write)

A string to be sent as the subject line of the message. May be left empty.

11.1.1.6 Body (String: Read/Write)

The text portion of the message to be sent. Line breaks should be sent as LINEFEED characters ( "Chr(10)" ).

CDONTS Note: the Body property in the Chili!Soft implementation must be text. There is no option for sending HTML, nor for providing an IStream object as input for this property.

11.1.1.7 Host (String: Read/Write)

The symbolic name (e.g. "mail.myorg.com") or ip address (ww.xx.yy.zz) of the SMTP mail server the control should use to send the message. Defaults to "localhost".

11.1.1.8 Value (Read/Write)

The Value property is used to add one or more headers to the automatically generated headers such as "To", "From", "Subject", and "Date". Possibilities for additional headers include "File", "Keywords", and "Reference".

Certain headers, such as "Reply-To", are widely accepted and used by various messaging systems. If you wish such a header to be recognized by the recipients of the NewMail object, you must be sure that the character string in the header's name exactly matches the accepted string.

In principle you can put any combination of ASCII characters in the string, but some messaging systems may have restrictions on the character set. The safest procedure is to limit the string to alphanumeric characters, dashes, and slashes, and in particular to avoid spaces.

You can set the Value property more than once. Each setting generates another header to be included with the existing headers.

11.1.1.9 Importance (Long: Read/Write)

The importance of the message to be sent. Valid values are:

  • 0 Low Importance
  • 1 Normal Importance
  • 2 High Importance

11.1.1.10 Retain (BOOLEAN: Read/Write)

If set to True, all of the properties will be retained after the Send method is called. If set to False (the default), all properties are cleared after the Send method is called.


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page