public class EmailComposer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER
The Constant logger.
|
| Constructor and Description |
|---|
EmailComposer() |
| Modifier and Type | Method and Description |
|---|---|
static InfoMessageModel |
createEmailForMemberSendResponse(String applicationSenderAddress,
String applicationDomainName,
String username,
String recipientFullName,
String recipientEmailContact,
String messagePart,
Locale locale) |
static InfoMessageModel |
createEmailMessageForForgottenPassword(String applicationSenderAddress,
String applicationDomainName,
String username,
String recipientFullName,
String recipientEmailContact,
String newPassword,
String urlForForgottenPassword,
Locale locale)
Creates the email message for forgotten password.
|
static InfoMessageModel |
createEmailMessageForRecommendProfile(String applicationSenderAddress,
String applicationDomainName,
String memberUsername,
String recipientFullName,
String recipientEmailContact,
String profileData,
String profileLink,
String invitationText,
String senderProfileLink,
String signupLink,
Locale locale) |
static void |
main(String... strings)
The main method.
|
public static final void main(String... strings) throws IOException, org.apache.velocity.runtime.parser.ParseException, URISyntaxException
strings - the argumentsIOException - Signals that an I/O exception has occurred.org.apache.velocity.runtime.parser.ParseException - the parse exceptionURISyntaxException - the URI syntax exceptionpublic static InfoMessageModel createEmailMessageForForgottenPassword(String applicationSenderAddress, String applicationDomainName, String username, String recipientFullName, String recipientEmailContact, String newPassword, String urlForForgottenPassword, Locale locale)
applicationSenderAddress - the application sender addressapplicationDomainName - the application domain nameusername - the usernamerecipientFullName - the recipient full namerecipientEmailContact - the recipient email contactnewPassword - the new passwordurlForForgottenPassword - the url for forgotten passwordlocale - the localepublic static InfoMessageModel createEmailForMemberSendResponse(String applicationSenderAddress, String applicationDomainName, String username, String recipientFullName, String recipientEmailContact, String messagePart, Locale locale)
public static InfoMessageModel createEmailMessageForRecommendProfile(String applicationSenderAddress, String applicationDomainName, String memberUsername, String recipientFullName, String recipientEmailContact, String profileData, String profileLink, String invitationText, String senderProfileLink, String signupLink, Locale locale)
Copyright © 2015. All rights reserved.