java.lang.Object
com.s8.api.flow.mail.SendMailS8Request
Request Object to send a mail.
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
compose
(S8MailBuilder mail) Compose an email functional interfaceabstract void
Callback method run upon failed request execution.abstract void
onSent
(SendMailS8Request.Status status, String message) Callback method run upon successful request execution.
-
Field Details
-
isOutOfFlow
public final boolean isOutOfFlowflag
-
-
Constructor Details
-
SendMailS8Request
public SendMailS8Request(boolean isOutOfFlow) Main constructor- Parameters:
isOutOfFlow
- flag
-
-
Method Details
-
compose
Compose an email functional interface- Parameters:
mail
- the mail builder- Throws:
IOException
- exception
-
onSent
Callback method run upon successful request execution.- Parameters:
status
- the status returnedmessage
- the message returned by request execution process
-
onFailed
Callback method run upon failed request execution.- Parameters:
exception
- the exception raised during the process
-