public class ColossusMail extends java.lang.Object implements IColossusMail
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
contactMail |
private java.lang.String |
contactWWW |
private java.lang.String |
fromAddress |
private java.lang.String |
fromName |
private static java.util.logging.Logger |
LOGGER |
private java.lang.String |
mailServer |
private java.io.File |
mailToFileFile |
private boolean |
mailToFileFlag |
private java.lang.String |
mailToFileName |
private boolean |
reallyMail
Whether or not to really send a mail.
|
private java.lang.String |
thisServer |
Constructor and Description |
---|
ColossusMail(WebServerOptions options) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
sendConfirmationMail(java.lang.String username,
java.lang.String email,
java.lang.String confCode)
Request from the ColossusMail object to send the mail
(with the confirmationCode) to the given email address,
in order to complete the registration of user username
|
private static final java.util.logging.Logger LOGGER
private final java.lang.String mailServer
private final java.lang.String fromAddress
private final java.lang.String fromName
private final java.lang.String thisServer
private final java.lang.String contactMail
private final java.lang.String contactWWW
private final boolean reallyMail
private final java.lang.String mailToFileName
private final java.io.File mailToFileFile
private final boolean mailToFileFlag
public ColossusMail(WebServerOptions options)
public java.lang.String sendConfirmationMail(java.lang.String username, java.lang.String email, java.lang.String confCode)
IColossusMail
sendConfirmationMail
in interface IColossusMail
username
- Name of user of which registration is ongoingemail
- email address to where to send the mailconfCode
- the code user has to provide in the gui field
in order to complete the registration