public class MailAPI extends ASubAPI
Constructor and Description |
---|
MailAPI() |
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 |
sendLoginChangedMail(UserContext uc,
Benutzer user,
String password)
Method for sending a mail with changed login data.
|
boolean |
sendOptInMail(UserContext uc,
Vorgang vorgang)
Sends an email as 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.
|
getHandlerProvider
public boolean sendLoginChangedMail(UserContext uc, Benutzer user, String password)
uc
- UserContext
the user context in which the action is to be performed.user
- Benutzer
to which the mail should be sent.password
- String
the new password of Benutzer
s.Boolean
whether the action was successful or not.public boolean sendResetPasswordMail(UserContext uc, Benutzer user, String url)
Benutzer
for resetting their password.uc
- UserContext
in which the operation should be performed.user
- Benutzer
which should receive the email.url
- String
URL for resetting the password.Boolean
whether the operation was successful or not.public boolean sendClientMail(Mandant client, IBaseMailData mailData)
client
- Mandant
sending the emailmailData
- IBaseMailData
content of the mailBoolean
whether or not the email could be sent successfullypublic boolean sendOptInMail(UserContext uc, Vorgang vorgang)
uc
- UserContext
the user context in which the action is to be performed.vorgang
- Vorgang
sending the emailBoolean
whether or not the email could be sent successfullypublic boolean sendSupportMail(UserContext uc, Mandant client, ISupportInquiryData supportInquiryData)
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)
uc
- UserContext
the user context in which the action is to be performed.client
- Mandant
for which to send the mailfeedbackMailData
- SupportInquiryData
containing feedback informationpublic boolean sendInviteMail(UserContext uc, Vorgang vorgang, String mailTo, DefaultReplacerParameters params)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.