1 /***************************************************************************2 * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *3 * Please look at license.txt in info directory for more license detail. *4 **************************************************************************/5 package org.exoplatform.services.communication.message;6 7 import javax.mail.Session ;8 9 /**10 * @author Tuan Nguyen (tuan08@users.sourceforge.net)11 * @since Oct 13, 200412 * @version $Id: MailService.java,v 1.1 2004/10/14 23:29:21 tuan08 Exp $13 */14 public interface MailService {15 public Session getMailSession() ;16 public String getOutgoingMailServer() ;17 public void sendMessage(Message message) throws Exception ; 18 }