public class KexEmailSender extends Object
Modifier and Type | Field and Description |
---|---|
private javax.mail.PasswordAuthentication |
authentifizierung
Authentifizierung.
|
private boolean |
authReq
Ob man sich Authentifizieren soll.
|
protected static boolean |
dEBUG
Debug Status.
|
private static de.bsvrz.sys.funclib.debug.Debug |
LOGGER
LOGGER.
|
private String |
mailServer
Adresse des MailServers.
|
protected javax.mail.Session |
session
Session mit dem SMTP Server.
|
Constructor and Description |
---|
KexEmailSender(String mailServer,
String user,
String passwort,
boolean authReq,
boolean starttls)
Standardkonstruktor.
|
Modifier and Type | Method and Description |
---|---|
VersandStatus |
send(String absender,
String betreff,
String text,
String empfaenger,
Collection<String> ccList,
Collection<String> bccList)
Versendet eine Email.
|
protected static boolean dEBUG
private static final de.bsvrz.sys.funclib.debug.Debug LOGGER
protected javax.mail.Session session
private boolean authReq
private javax.mail.PasswordAuthentication authentifizierung
private final String mailServer
public VersandStatus send(String absender, String betreff, String text, String empfaenger, Collection<String> ccList, Collection<String> bccList)
absender
- Absenderbetreff
- Betrefftext
- Textempfaenger
- HauptempfaengerccList
- Empfengerliste fuer KopiebccList
- Empfengerliste fuer Kopie, ohne Benachrichtigung ueber anderen
EmpfaengerCopyright © 2017 BitCtrl Systems GmbH. All rights reserved.