org.bejug.javacareers.jobs.service
Interface MailService

All Known Implementing Classes:
MailServiceImpl

public interface MailService

Interface for the mailservice.

Version:
$Revision: 1.1 $ $Date: 2005/08/26 07:58:31 $
Author:
Bart Meyers (last modified by $Author: ge0ffrey $)

Method Summary
 void sendNotificationMessage(java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String from, java.lang.String subject, java.lang.String text)
          This method is responsable to send a mail-notification to 1 user.
 

Method Detail

sendNotificationMessage

public void sendNotificationMessage(java.lang.String to,
                                    java.lang.String cc,
                                    java.lang.String bcc,
                                    java.lang.String from,
                                    java.lang.String subject,
                                    java.lang.String text)
                             throws org.bejug.javacareers.common.exception.MailException
This method is responsable to send a mail-notification to 1 user.

Parameters:
to - a String indicating the recipient to send to.
cc - a String indicating the recipient to send to(in cc).
bcc - a String indicating the recipient to send to(in bcc).
from - a String indicating the sender of the mail.
subject - a String indicating the subject of the mail.
text - a String containing the contents of the mail to send.
Throws:
org.bejug.javacareers.common.exception.MailException - when the sending of the message failes somehow.


Copyright © 2005-2006 BeJUG. All Rights Reserved.