public class MailHandler extends AMSApiHandler implements IMailHandler
| Constructor and Description |
|---|
MailHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
sendClientMail(Mandant client,
IBaseMailData mailData)
Sends an email as the given client
|
boolean |
sendFeedbackMail(UserContext uc,
Mandant client,
IFeedbackMailData feedbackMailData)
Send a feedback mail from the given client.
|
boolean |
sendInviteMail(UserContext uc,
Vorgang vorgang,
String mailTo,
DefaultReplacerParameters params) |
boolean |
sendLoginChanged(UserContext uc,
Benutzer benuter,
String passwort)
Send login changed.
|
boolean |
sendOptInMail(UserContext uc,
Vorgang vorgang)
Send a feedback mail from the given client.
|
boolean |
sendResetPasswordMail(UserContext uc,
Benutzer user,
String url)
Sends an email to the
Benutzer for resetting their password |
boolean |
sendSupportMail(UserContext uc,
Mandant client,
ISupportInquiryData supportInquiryData)
Send a support mail from the given client.
|
getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic boolean sendLoginChanged(UserContext uc, Benutzer benuter, String passwort)
sendLoginChanged in interface IMailHandlerbenuter - the benuterpasswort - the passwortpublic boolean sendResetPasswordMail(UserContext uc, Benutzer user, String url)
Benutzer for resetting their passwordsendResetPasswordMail in interface IMailHandleruc - UserContext in which the operation should be performeduser - Benutzer which should receive the emailurl - String url for resetting the passwordBoolean whether the operation was successful or notpublic boolean sendClientMail(Mandant client, IBaseMailData mailData)
sendClientMail in interface IMailHandlerclient - Mandant sending the emailmailData - IBaseMailData content of the mailBoolean whether or not the email could be sent successfullypublic boolean sendSupportMail(UserContext uc, Mandant client, ISupportInquiryData supportInquiryData)
sendSupportMail in interface IMailHandleruc - UserContext the user context in which the action is to be performed.client - Mandant for which to send the mailsupportInquiryData - SupportInquiryData containing support inquiry informationpublic boolean sendFeedbackMail(UserContext uc, Mandant client, IFeedbackMailData feedbackMailData)
IMailHandlersendFeedbackMail in interface IMailHandleruc - UserContext the user context in which the action is to be performed.client - Mandant for which to send the mailfeedbackMailData - IFeedbackMailData containing feedback informationpublic boolean sendOptInMail(UserContext uc, Vorgang vorgang)
IMailHandlersendOptInMail in interface IMailHandleruc - UserContext the user context in which the action is to be performed.vorgang - Vorgang for which to send the mailpublic boolean sendInviteMail(UserContext uc, Vorgang vorgang, String mailTo, DefaultReplacerParameters params)
sendInviteMail in interface IMailHandlerCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.