public class ConfirmUserMailMessage extends SecurityCodeMailMessage
ACTIVATION_LINK_PREFIX| Constructor and Description |
|---|
ConfirmUserMailMessage(User userToConfirm,
SecurityCode securityCode,
UserManagement.RegistrationType type)
Construct a new mail message for user confirmation
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLinkPrefix()
Gets the link prefix.
|
void |
prepareModel(Map<String,Object> model)
Does nothing.
|
getLinkParamAction, getLinkParamCode, getSecurityCodeConfirmationLink, getSecurityCodeConfirmationLinkaddBcc, addCc, addTo, addTo, addTo, getBcc, getCc, getContentTemplate, getContentTemplateId, getFromAddress, getFromAddressName, getGlobalModel, getLocale, getMessageIdentifier, getReplyToAddress, getReplyToAddressName, getSubjectTemplate, getSubjectTemplateId, getTo, getToAddresses, getToAddressPersonalName, isHtmlMail, isInsertRecipientPersonalName, setFromAddress, setFromAddressName, setInsertRecipientPersonalNamepublic ConfirmUserMailMessage(User userToConfirm, SecurityCode securityCode, UserManagement.RegistrationType type)
userToConfirm - the user to confirmsecurityCode - The securityCodetype - The type of the registration.public String getLinkPrefix()
getLinkPrefix in class SecurityCodeMailMessagecom.communote.server.core.mail.messages.MailMessage#getLinkPrefix()public void prepareModel(Map<String,Object> model)
SecurityCodeMailMessageprepareModel in class SecurityCodeMailMessagemodel - The model to prepare. It will be initialized with the settings returned by
MailMessage.getGlobalModel().Copyright © 2019 Communote team. All rights reserved.