util
Class Mail
java.lang.Object
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 |
Mail
public Mail()
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ängeradressetext
- Mailtext
- Throws:
AddressException
SendFailedException
MessagingException
sendErrorReport
public static void sendErrorReport(java.lang.String text)