Compose.To

Adds recipients a subcommand of the Compose.Action method) to the specified composition as To recipients, which allows recipients to be added from other sources besides the keyboard (from a directory or address book, for example). This action must be specified as a subcommand of Compose.Action.

Parameters

Compose.id (Required)

Specifies the identifier of the item being composed.

Directory.Item.email

Specifies the recipient to send this item to. This parameter can be repeated so that multiple recipients can be specified with one request.

User.context (Required)

Specifies the context identifier for this user’s session.

Return Values

Value

Description

Compose.id

ID of this composition.

Item.type

Type of the item: mail, appointment, task, note, or phone.

Item.to

List of To recipients.

Item.cc

List of CC recipients.

Item.bc

List of BC recipients.

Item.dateStart

Start date if the item is an appointment or note.

Item.dateEnd

End date if the item is an appointment or the due date if the item is a task.

Item.location

Location of the appointment.

Item.taskPriority

Priority of an item if the item is a task.

Item.Task.startDate

Start date if the item is a task.

Item.caller

Caller if the item type is Phone.

Item.company

Company if the item type is Phone.

Item.phone

Phone number if the item type is Phone.

Item.duration

Duration if the item is an appointment.

Item.durationType

Duration type for an appointment: 1=minutes, 2=hours, 3=days.

If the item has an enclosure, such as the original message when forwarding or delegating a message, the following might also be returned:

Value

Description

Item.Enclosure.id

Enclosed item.

Item.Enclosure.drn

GroupWise identifier of the enclosed item.

Item.Enclosure.type

Item type of the enclosure: Mail, Appointment, Note, Task, or Phone.

Item.Enclosure.from

Sender of the enclosed item.

Item.Enclosure.fromFullId

Full ID (userid.postoffice.domain) of the sender of the enclosed item.

Item.Enclosure.priority

Priority of the enclosed item.

Item.Enclosure.toId

User IDs of the To recipients of the enclosed item.

Item.Enclosure.toFullId

Full resolved IDs of the To recipients of the enclosed item.

Item.Enclosure.toName

Display names of the To recipients of the enclosed item.

Item.Enclosure.ccId

User IDs of the CC recipients of the enclosed item.

Item.Enclosure.ccFullId

Full resolved IDs of the CC recipients of the enclosed item.

Item.Enclosure.ccName

Display names of the To recipients of the enclosed item.

Item.Enclosure.subject

Subject of the enclosed item.

Item.Enclosure.message

Message of the enclosed item.

Item.Enclosure.subType

Subtype of the enclosed item.

Item.Enclosure.read

Read status of the enclosed item.

Item.Enclosure.accepted

Accepted status of the enclosed item.

Item.Enclosure.completed

Completed status of the enclosed item.

Item.Enclosure.Child.id

Enclosed ID of the enclosed item.

Item.Enclosure.Child.depth

How deeply nested the enclosure is. For example, if you're forwarding a forwarded item, the original item would have a depth of 2.

Item.Enclosure.dateSent

Send date of the enclosed item.

Item.Enclosure.dateStart

Start date of the enclosed item.

Item.Enclosure.dateEnd

End or due date of the enclosed item.

Item.Enclosure.ReplyRequest.type

Type of the reply request of the enclosed item.

Item.Enclosure.ReplyRequest.date

Date associated with the reply request of the enclosed item.

Item.Enclosure.location

Location of the enclosed appointment item.

Item.Enclosure.Task.priority

Priority of the enclosed item.

Item.Enclosure.Task.startDate

Start date of the enclosed task item.

Item.Enclosure.caller

Caller of the enclosed phone item.

Item.Enclosure.company

Company of the enclosed phone item.

Item.Enclosure.phone

Phone number of the enclosed phone item.

Item.Enclosure.isAutoDate

Enclosed item is an auto-date item.

Item.Enclosure.security

Security of the enclosed item.

Example

<FORM method=post action="/servlet/webacc">
   <INPUT type=hidden name=User.context value=xyz>
   <INPUT type=hidden name=action value=Compose.Action>
   <INPUT type=hidden name=Compose.id value=1>
   <INPUT id=cb1 type="checkbox" name=Directory.Item.email
       value="jdoe">
   <INPUT id=cb2 type="checkbox" name=Directory.Item.email
       value="jsmith">               
   <INPUT Type=submit name=Compose.To value="To">
   <INPUT Type=submit name=Compose.CC Value="CC">
   <INPUT Type=submit name=Compose.BC value="BC">
</FORM>