public interface B2BEmailService
| Modifier and Type | Method and Description |
|---|---|
HtmlEmail |
createOrderApprovalEmail(java.lang.String emailTemplateCode,
OrderModel order,
B2BCustomerModel user,
InternetAddress from,
java.lang.String subject)
Creates an Approval email to be sent to the B2BCustomer.
|
HtmlEmail |
createOrderRejectionEmail(java.lang.String emailTemplateCode,
OrderModel order,
B2BCustomerModel user,
InternetAddress from,
java.lang.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(java.lang.String emailTemplateCode,
OrderModel order,
B2BCustomerModel user,
InternetAddress from,
java.lang.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(java.lang.String emailTemplateCode,
OrderModel order,
B2BCustomerModel user,
InternetAddress from,
java.lang.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 © 2018 SAP SE. All Rights Reserved.