public interface B2BEmailService
| Modifier and Type | Method and Description |
|---|---|
HtmlEmail |
createOrderApprovalEmail(String emailTemplateCode,
OrderModel order,
B2BCustomerModel user,
InternetAddress from,
String subject)
Creates an Approval email to be sent to the B2BCustomer.
|
HtmlEmail |
createOrderRejectionEmail(String emailTemplateCode,
OrderModel order,
B2BCustomerModel user,
InternetAddress from,
String subject)
Creates a Rejection email to be sent to the B2BCustomer.
|
void |
sendEmail(HtmlEmail email)
Sends the email out to the B2BCustomer
|
HtmlEmail createOrderApprovalEmail(String emailTemplateCode, OrderModel order, B2BCustomerModel user, InternetAddress from, String subject) throws EmailException
emailTemplateCode - used to determine the RendererTemplateModel to be usedorder - the orderuser - the user the email will be sent tofrom - the email address of the sendersubject - the title of the email messageEmailExceptionHtmlEmail createOrderRejectionEmail(String emailTemplateCode, OrderModel order, B2BCustomerModel user, InternetAddress from, String subject) throws EmailException
emailTemplateCode - used to determine the RendererTemplateModel to be usedorder - user - the user the email will be sent tofrom - the email address of the sendersubject - the title of the email messageEmailExceptionvoid sendEmail(HtmlEmail email)
throws EmailException
email - the html email message to be sentEmailExceptionCopyright © 2017 SAP SE. All Rights Reserved.