com.sap.ip.collaboration.gw.api.framework.groupware
Interface IMailSendTransport
- All Superinterfaces:
- ISendTransport, ITransport
- public interface IMailSendTransport
- extends ISendTransport
The IMailSendTransport interface extends the send transport interface to
define methods specific to the mail item type.
Copyright (c) SAP 2002
- Version:
- $Revision: 1.0$
send
public java.lang.String send(IGroupwareItem item)
throws GroupwareException
- Sends the mail item without any credentials
(Used when the SMTP server does not authenticate the user
sending the mail.)
- Parameters:
item - mail item to be sent- Returns:
- id of the item sent
- Throws:
GroupwareException -
send
public java.lang.String send(IGroupwareItem item,
IGroupwareCredentials smtp,
IGroupwareCredentials groupware)
throws GroupwareException
- Sends the mail item when the credentials for the SMTP server are
different from from the groupware server.
- Parameters:
item - mail item to be sentcredentials - SMTP crdentialscredentials - groupware credentials- Returns:
- id of the item sent
- Throws:
GroupwareException -