|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to configure the mailer.
ChangeLog:
$Log: MailerInterface.java,v $ Revision 1.2 2001/06/04 14:21:10 jiriki Made source more comliant to coding guidelines. Revision 1.1.1.1 2001/04/29 18:05:18 jiriki Imported sources from zola. Revision 1.3 2001/04/24 23:19:22 wombat - Implemented I18N features of server - Implemented actions for Admin Client - Other changes is AdminClient Revision 1.2 2001/04/11 17:40:49 wombat Updated Documentation. Revision 1.1 2001/04/09 17:55:27 wombat Mail Interface Konfiguration eingefügt.
Method Summary | |
java.lang.String |
getHost()
Return the SMTP server, that is used to send mail. |
java.util.Vector |
getMailTextNames()
Return an array containing the names of mails that can be send. |
java.lang.String |
getSenderAddress()
Return the email address, that is used to send mail. |
boolean |
isDebugging()
Wether debug output is printed to stdio. |
void |
sendTestMail(java.lang.String eMail,
java.lang.String textName,
java.util.Locale locale)
Send a test mail. |
void |
setDebug(boolean debug)
Set wether debug output is printed to stdio. |
void |
setHost(java.lang.String hostname)
Set the SMTP server, that is used to send mail. |
void |
setSenderAddress(java.lang.String eMail)
Set the email address, that is used to send mail. |
Method Detail |
public boolean isDebugging() throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.public void setDebug(boolean debug) throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
debug
- True if debug output is to be printed to stdio.java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.public java.lang.String getHost() throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.public void setHost(java.lang.String hostname) throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
hostname
- Name of the server.java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.public java.lang.String getSenderAddress() throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.public void setSenderAddress(java.lang.String eMail) throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
eMail
- EMail address.java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.public void sendTestMail(java.lang.String eMail, java.lang.String textName, java.util.Locale locale) throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException, javax.mail.MessagingException
eMail
- EMail address to send the testmail to.textName
- Name of the text to send. This must be one of the Names
returned by getTextNames.locale
- Locale the message is sent in.java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.javax.mail.MessagingException
- If the mail could not be send.public java.util.Vector getMailTextNames() throws java.rmi.RemoteException, KosiAccessException, InvalidSessionException
sendTestMail()
.java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user, that has no
administration permission.InvalidSessionException
- If called from an invalid session cotext.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |