public interface IMailItem extends IGroupwareItem
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(IAttachment attachment)
Adds an attachment to the mail item.
|
void |
deleteAttachment(IAttachment attachment)
Deleted an attachment from the mail item.
|
List |
getAttachmentList()
Returns the attachment list associated with the mail item.
|
String |
getBcc()
Gets the Bcc list for the Mail Item
|
List |
getBccList()
Gets the Bcc list for the Mail Item as a list of EmailAddresses.
|
String |
getCc()
Gets the Cc list for the Mail Item.
|
List |
getCcList()
Gets the Cc list for the Mail Item as a list of EmailAddresses.
|
PriorityType |
getPriorityEnum()
Gets the priority for the Mail Item.
|
boolean |
getSaveOnSend()
Gets a boolean flag indicating whether the mail item should be saved
in the 'Sent Items' folder or not.
|
void |
send()
Sends the groupware item without any credentials
(Used when the SMTP server does not authenticate the user
sending the mail.)
|
void |
send(IGroupwareCredentials smtp,
IGroupwareCredentials groupware)
Sends the mail item when the credentials for the SMTP server are
different from from the groupware server.
|
void |
setBcc(String bcc)
Sets the Bcc list for the Mail Item.
|
void |
setBccList(List bcc)
Sets the Bcc list for the Mail Item as a list of EmailAddresses.
|
void |
setCc(String cc)
Sets the Cc list for the Mail Item.
|
void |
setCcList(List cc)
Sets the Cc list for the Mail Item as a list of EmailAddresses.
|
void |
setPriority(PriorityType priority)
Sets the priority for the Mail Item.
|
void |
setSaveOnSend(boolean flag)
Sets a boolean flag indicating whether the mail item should be saved
in the 'Sent Items' folder or not.
|
getApplicationData, getContent, getFrom, getFromAddress, getGroupwareManager, getID, getItemTypeEnum, getMimeType, getSubject, getTo, getToList, getTransport, getTransportName, remove, remove, remove, remove, save, save, send, send, setApplicationData, setContent, setFrom, setFromAddress, setGroupwareManager, setID, setMimeType, setSubject, setTo, setToList, setTransport
void setCc(String cc) throws GroupwareException
cc
- , the list of recipients in the Cc list.GroupwareException
- When error occursString getCc() throws GroupwareException
GroupwareException
- When error occursvoid setCcList(List cc) throws GroupwareException
cc
- , the list of recipients in the Cc list.GroupwareException
- When error occursList getCcList() throws GroupwareException
GroupwareException
- When error occursvoid setBcc(String bcc) throws GroupwareException
bcc
- , the list of recipients in the Bcc list.GroupwareException
- When error occursString getBcc() throws GroupwareException
GroupwareException
- When error occursvoid setBccList(List bcc) throws GroupwareException
bcc
- , the list of recipients in the Bcc list.GroupwareException
- When error occursList getBccList() throws GroupwareException
GroupwareException
- When error occursvoid setPriority(PriorityType priority) throws GroupwareException
priority
- of the mail Item.GroupwareException
- When error occursPriorityType getPriorityEnum() throws GroupwareException
GroupwareException
- When error occursvoid setSaveOnSend(boolean flag) throws GroupwareException
flag
- to indicate whether the mail item to be saved in sent to folder or notGroupwareException
- When error occursboolean getSaveOnSend() throws GroupwareException
GroupwareException
- When error occursvoid send() throws GroupwareException
GroupwareException
- When error occursvoid send(IGroupwareCredentials smtp, IGroupwareCredentials groupware) throws GroupwareException
smtp
- crdentialsgroupware
- credentialsGroupwareException
- When error occursList getAttachmentList() throws GroupwareException
GroupwareException
- When error occursvoid addAttachment(IAttachment attachment) throws GroupwareException
attachment
- ObjectGroupwareException
- When error occursvoid deleteAttachment(IAttachment attachment) throws GroupwareException
attachment
- attachment object to be deleted.GroupwareException
- When error occursAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/gw
|
api
|
EP-KM-COL
|
Copyright 2018 SAP AG Complete Copyright Notice