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 |
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.
|
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public boolean sendLoginChanged(UserContext uc, Benutzer benuter, String passwort)
sendLoginChanged
in interface IMailHandler
benuter
- the benuterpasswort
- the passwortpublic boolean sendResetPasswordMail(UserContext uc, Benutzer user, String url)
Benutzer
for resetting their passwordsendResetPasswordMail
in interface IMailHandler
uc
- 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 IMailHandler
client
- 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 IMailHandler
uc
- 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)
IMailHandler
sendFeedbackMail
in interface IMailHandler
uc
- UserContext
the user context in which the action is to be performed.client
- Mandant
for which to send the mailpublic boolean sendOptInMail(UserContext uc, Vorgang vorgang)
IMailHandler
sendOptInMail
in interface IMailHandler
uc
- UserContext
the user context in which the action is to be performed.vorgang
- Vorgang
for which to send the mailCopyright © 2019 XIMA MEDIA GmbH. All rights reserved.