public interface ISendMailItem
Modifier and Type | Method and Description |
---|---|
int |
getRecipientsCount() |
void |
send()
Sends the mail item without any credentials
(Used when the SMTP server does not authenticate the user
sending the mail.)
|
void |
send(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated.
As of NetWeaver 7.1, replaced by
send(com.sap.security.api.IUser) |
void |
send(IUser user)
Sends the mail item to the intended recipient list.
|
void |
setAttachmentList(IAttachmentList attachmentList)
Sets the list of attachments on the mail item.
|
void |
setBcc(String bcc)
Sets the Bcc list for the Mail Item.
|
void |
setBccList(List bcc)
Sets the Bcc list for the Mail Item.
|
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 |
setContent(String content)
Sets the body of the mail item.
|
void |
setFrom(String from)
Sets the address from which the mail item is originating.
|
void |
setFromAddress(IEmailAddress from)
Sets the EmailAddress from which the mail item is originating.
|
void |
setMimeType(String mimeType)
Sets the MIME type of the content of the mail item.
|
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.
|
void |
setSubject(String subject)
Sets the subject of the mail item.
|
void |
setTo(String to)
Sets the recipient list of mail item.
|
void |
setToList(List to)
Sets the recipient list of mail item as a list of EmailAddresses.
|
void setContent(String content) throws GroupwareException
content
- GroupwareException
void setSubject(String subject) throws GroupwareException
subject
- GroupwareException
void setTo(String to) throws GroupwareException
to
- recipient listGroupwareException
void setToList(List to) throws GroupwareException
to
- recipient listGroupwareException
void setFrom(String from) throws GroupwareException
from
- GroupwareException
void setFromAddress(IEmailAddress from) throws GroupwareException
from
- GroupwareException
void send(com.sapportals.portal.security.usermanagement.IUser user) throws GroupwareException
send(com.sap.security.api.IUser)
user
- GroupwareException
void send(IUser user) throws GroupwareException
user
- GroupwareException
void setMimeType(String mimeType) throws GroupwareException
mimeType
- GroupwareException
void setCc(String cc) throws GroupwareException
cc
- , the list of recipients in the Cc list.GroupwareException
void setCcList(List cc) throws GroupwareException
cc
- , the list of recipients in the Cc list.GroupwareException
void setBcc(String bcc) throws GroupwareException
bcc
- , the list of recipients in the Bcc list.GroupwareException
void setBccList(List bcc) throws GroupwareException
bcc
- , the list of recipients in the Bcc list.GroupwareException
void setPriority(PriorityType priority) throws GroupwareException
priority
- of the mail Item.GroupwareException
void setSaveOnSend(boolean flag) throws GroupwareException
flag
- GroupwareException
void send() throws GroupwareException
GroupwareException
void setAttachmentList(IAttachmentList attachmentList) throws GroupwareException
attachmentList
- GroupwareException
int getRecipientsCount() throws GroupwareException
GroupwareException
Access 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