org.abraracourcix.alipes.common.messaging
Class EmailMessenger

java.lang.Object
  extended byorg.abraracourcix.alipes.common.messaging.EmailMessenger
All Implemented Interfaces:
Messenger

public class EmailMessenger
extends java.lang.Object
implements Messenger

Messenger that dispatches emails

Author:
jdt

Method Summary
 java.lang.String getRecipient()
          The intended recipient for this message - nice to know
 void sendMessage(java.lang.String subject, java.lang.String message)
          Does the donkey work of sending an email
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendMessage

public void sendMessage(java.lang.String subject,
                        java.lang.String message)
                 throws MessengerException
Does the donkey work of sending an email

Specified by:
sendMessage in interface Messenger
Parameters:
subject - subject line
message - what you want to say
Throws:
MessengerException - if the email fails

getRecipient

public java.lang.String getRecipient()
Description copied from interface: Messenger
The intended recipient for this message - nice to know

Specified by:
getRecipient in interface Messenger
Returns:
The recipients of this message
See Also:
Messenger.getRecipient()


Copyright © 2004-2005 Abraracourcix. All Rights Reserved.