public class InviteUserToClientMailMessage extends SecurityCodeMailMessage
ACTIVATION_LINK_PREFIX
Constructor and Description |
---|
InviteUserToClientMailMessage(User inviter,
Locale locale,
String recipientEmail,
SecurityCode code)
Construct an invitation mail message.
|
Modifier and Type | Method and Description |
---|---|
String |
getLinkPrefix()
Gets the link prefix.
|
void |
prepareModel(Map<String,Object> model)
Does nothing.
|
getLinkParamAction, getLinkParamCode, getSecurityCodeConfirmationLink, getSecurityCodeConfirmationLink
addBcc, addCc, addTo, addTo, addTo, getBcc, getCc, getContentTemplate, getContentTemplateId, getFromAddress, getFromAddressName, getGlobalModel, getLocale, getMessageIdentifier, getReplyToAddress, getReplyToAddressName, getSubjectTemplate, getSubjectTemplateId, getTo, getToAddresses, getToAddressPersonalName, isHtmlMail, isInsertRecipientPersonalName, setFromAddress, setFromAddressName, setInsertRecipientPersonalName
public InviteUserToClientMailMessage(User inviter, Locale locale, String recipientEmail, SecurityCode code)
inviter
- the user sending the invitationrecipientEmail
- email address of the user to invitelocale
- the locale of the usercode
- the code the security codepublic String getLinkPrefix()
getLinkPrefix
in class SecurityCodeMailMessage
public void prepareModel(Map<String,Object> model)
SecurityCodeMailMessage
prepareModel
in class SecurityCodeMailMessage
model
- The model to prepare. It will be initialized with the settings returned by
MailMessage.getGlobalModel()
.Copyright © 2019 Communote team. All rights reserved.