util
Class Mail

java.lang.Object
  extended by util.Mail

public class Mail
extends java.lang.Object

Mails verschicken m.H. der JavaMail-API

Author:
Steffen Dienst, Thorsten Berger

Constructor Summary
Mail()
           
 
Method Summary
static void sendErrorReport(java.lang.String text)
           
static void sendmail(java.lang.String email, java.lang.String subject, java.lang.String text)
          Versendet Emails an eine Adresse.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mail

public Mail()
Method Detail

sendmail

public static void sendmail(java.lang.String email,
                            java.lang.String subject,
                            java.lang.String text)
                     throws AddressException,
                            SendFailedException,
                            MessagingException
Versendet Emails an eine Adresse.

Parameters:
email - Empfängeradresse
text - Mailtext
Throws:
AddressException
SendFailedException
MessagingException

sendErrorReport

public static void sendErrorReport(java.lang.String text)