PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/drivetogether/src/at/fhj/itm/util/EmailUtil.java

http://fhj-ws2010-itm08-sesoftde.googlecode.com/
Java | 20 lines | 6 code | 2 blank | 12 comment | 0 complexity | 6f03ed1dbf6de3e0fd86be0bd1db046e MD5 | raw file
Possible License(s): Apache-2.0
  1. package at.fhj.itm.util;
  2. /**
  3. * Interface for email functions.
  4. * @author Hans-Joerg Tagger<br />
  5. * Patrick Habith
  6. * @version 0.1 - last change Jan. 24, 2011
  7. */
  8. public interface EmailUtil
  9. {
  10. /**
  11. * Send an email to an user to confirm his/her registration.
  12. * @param email - the user's email address
  13. * @param username - the user's username (used as personal name in the email)
  14. * @return true if the message was sent successful otherwise false
  15. */
  16. public boolean sendRegConfirmation(String email, String username);
  17. public abstract boolean sendTripDeleteNotification(String email, String username);
  18. }