View Javadoc

1   /*
2    * Copyright (c) 2005 Your Corporation. All Rights Reserved.
3    */
4   package org.bejug.javacareers.jobs.service;
5   
6   import org.bejug.javacareers.common.exception.MailException;
7   
8   /***
9    * Interface for the mailservice.
10   *
11   * @author Bart Meyers (last modified by $Author: ge0ffrey $)
12   * @version $Revision: 1.1 $ $Date: 2005/08/26 07:58:31 $
13   */
14  public interface MailService {
15      
16     /***
17      * This method is responsable to send a mail-notification to 1 user.
18      * @param to a String indicating the recipient to send to.
19      * @param cc a String indicating the recipient to send to(in cc).
20      * @param bcc a String indicating the recipient to send to(in bcc).
21      * @param from a String indicating the sender of the mail.
22      * @param subject a String indicating the subject of the mail.
23      * @param text a String containing the contents of the mail to send.
24      * @throws MailException when the sending of the message failes somehow.
25      */
26     void sendNotificationMessage(String to, String cc, String bcc,
27             						String from,  String subject,
28             						String text) throws MailException;
29  
30  }
31  /***
32   * $Log: MailService.java,v $
33   * Revision 1.1  2005/08/26 07:58:31  ge0ffrey
34   * split up the sources in service, serviceimpl and webclient
35   *
36   * Revision 1.3  2005/06/14 12:05:52  schauwvliege
37   * CheckStyle and fixing tests
38   *
39   * Revision 1.2  2005/06/09 08:18:52  bejug_cc
40   * Fix initial import
41   *
42   * Revision 1.6  2005/05/22 16:42:42  sja
43   * Removed mail notification to multiple users.
44   *
45   * Revision 1.5  2005/05/22 16:34:13  sja
46   * Removed public modifier.
47   *
48   * Revision 1.4  2005/05/18 10:21:23  bme
49   * updated
50   *
51   * Revision 1.3  2005/05/18 07:03:05  ssc
52   * typo
53   *
54   * Revision 1.2  2005/05/17 14:22:17  ssc
55   * checkstyle
56   *
57   * Revision 1.1  2005/05/13 14:07:50  bme
58   * mailservice first draft
59   *
60   */