Compose.Attach.Delete

Removes an attached file from this compose item. This action must be specified as a subcommand of Compose.Action.

Parameters

Compose.id (Required)

Specifies the item being composed.

Item.Attachment.Id (Required)

Specifies the attachment to be removed from the item being composed.

User.context (Required)

Specifies the context identifier for this user’s session.

Return Values

Value

Description

Item.Attachment.count

Number of attachments this item contains.

Item.Attachment[n].id

Identifier of the nth attachment.

Item.Attachment[n].name

Name of the nth attachment.

Item.Attachment[n].type

Type of the nth attachment.

Item.Attachment[n].size

Size of the nth attachment.

Item.Attachment[n].filename

File name of the nth attachment.

Item.Attachment[n].category

Category of the nth attachment.

Item.Attachment[n].mimeType

Mime type of the nth attachment.

Item.Attachment[n].Library.id

Library identifier of the nth attachment (document reference).

Item.Attachment[n].Document.id

Document identifier of the nth attachment (document reference).

Item.Attachment[n].Document.version

Document version of the nth attachment (document reference).

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 due date if the item is a task).

Item.location

Location of the appointment.

Item.taskPriority

Priority of an item if the item type is a task.

Item.Task.startDate

Start date if the item is a task.

Item.caller

Caller if the item is a phone.

Item.company

Company if the item is a phone.

Item.phone

Phone number if the item type is a 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

1 if the enclosed item is an auto-date item.

Item.Enclosure.security

Security of the enclosed item.

Example

<FORM METHOD=POST ACTION="/servlet/webacc">
   <INPUT Type=submit Name="Compose.Attach.Delete" Value="Remove">
   <INPUT Type="Checkbox" Name="Item.Attachment.id" Value="1"> myfile.dat
<BR>
   <INPUT type="hidden" name="User.context" value="elnqZdgimsEm">
   <INPUT type="hidden" name="action" value="Compose.Action">
   <INPUT type="hidden" name="Compose.Attach" value="">
   <INPUT type="hidden" name="Compose.id" value="1">
   <INPUT type="hidden" name="merge" value="send">
</FORM>