KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > modules > MailModule


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.core.modules;
10
11
12 /**
13  * @author <a HREF="mailto:julien@jboss.com">Julien Viet</a>
14  */

15 public interface MailModule {
16
17         void send(String JavaDoc from, String JavaDoc to, String JavaDoc subject, String JavaDoc body);
18
19         void setSMTPConnectionTimeout(int SMTPConnectionTimeout);
20
21         void setSMTPTimeout(int SMTPTimeout);
22
23         void setGateway(String JavaDoc gateway);
24
25         void setSmtpUser(String JavaDoc smtpUser);
26
27         void setSmtpPassword(String JavaDoc smtpPassword);
28
29         void setJavaMailDebugEnabled(boolean javaMailDebugEnabled);
30 }
Popular Tags