1 /* 2 * Copyright (c) 1999-2001 Lutris Technologies, Inc. All Rights 3 * Reserved. 4 * 5 * This source code file is distributed by Lutris Technologies, Inc. for 6 * use only by licensed users of product(s) that include this source 7 * file. Use of this source file or the software that uses it is covered 8 * by the terms and conditions of the Lutris Enhydra Development License 9 * 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 2004/08/16 09:33:18 slobodan 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, 48 String type) throws AirSentException; 49 } 50 51