01: /*
02: * Copyright (c) 1999-2001 Lutris Technologies, Inc. All Rights
03: * Reserved.
04: *
05: * This source code file is distributed by Lutris Technologies, Inc. for
06: * use only by licensed users of product(s) that include this source
07: * file. Use of this source file or the software that uses it is covered
08: * by the terms and conditions of the Lutris Enhydra Development License
09: * Agreement included with this product.
10: *
11: * This Software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
12: * ANY KIND, either express or implied. See the License for the specific terms
13: * governing rights and limitations under the License.
14: *
15: * Contributor(s):
16: *
17: * $Id: EmailManager.java,v 1.1 2006-09-11 12:29:26 sinisa Exp $
18: */
19:
20: package com.lutris.airsent.spec.email;
21:
22: import com.lutris.airsent.spec.AirSentException;
23:
24: /**
25: * Email Factory to send smtp mail.
26: *
27: *
28: * @author joseph shoop
29: * @version %I%, %G%
30: */
31: public interface EmailManager {
32:
33: /**
34: * Sends mail using smtp.
35: *
36: *
37: * @param to
38: * @param toAddress
39: * @param subject
40: * @param body
41: * @param type
42: *
43: * @throws AirSentException
44: *
45: */
46: public void send(String to, String toAddress, String subject,
47: String body, String type) throws AirSentException;
48: }
|