KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > message > MailService


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 JavaDoc;
8
9 /**
10  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
11  * @since Oct 13, 2004
12  * @version $Id: MailService.java,v 1.1 2004/10/14 23:29:21 tuan08 Exp $
13  */

14 public interface MailService {
15   public Session JavaDoc getMailSession() ;
16   public String JavaDoc getOutgoingMailServer() ;
17   public void sendMessage(Message message) throws Exception JavaDoc ;
18 }
Popular Tags