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$

Method Summary
 java.lang.String send(IGroupwareItem item)
          Sends the mail item without any credentials (Used when the SMTP server does not authenticate the user sending the mail.)
 java.lang.String send(IGroupwareItem item, IGroupwareCredentials smtp, IGroupwareCredentials groupware)
          Sends the mail item when the credentials for the SMTP server are different from from the groupware server.
 
Methods inherited from interface com.sap.ip.collaboration.gw.api.framework.groupware.ISendTransport
remove, save, send
 
Methods inherited from interface com.sap.ip.collaboration.gw.api.framework.groupware.ITransport
getServerAlias, getSupportedItemType, getTransportDescription, getTransportName, getTransportType, initialize, terminate
 

Method Detail

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 sent
credentials - SMTP crdentials
credentials - groupware credentials
Returns:
id of the item sent
Throws:
GroupwareException -