Class MailService
java.lang.Object
com.aquima.interactions.framework.service.mail.MailService
- All Implemented Interfaces:
ISelfValidatingService
,IService
The mail service is a service which can send an email using an asset as body text optionally containing HTML tags.
- Since:
- 6.4
- Author:
- F. van der Meer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle
(IServiceContext context) The handle method of the service is allowed to make changes to the interfaces passed along with the IServiceContext.void
validate
(IServiceCallDefinition definition, ISelfValidationContext context) Validates the provided service call definition.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MailService
public MailService()
-
-
Method Details
-
handle
Description copied from interface:IService
The handle method of the service is allowed to make changes to the interfaces passed along with the IServiceContext. This means the service context is changed accordingly. -
validate
Description copied from interface:ISelfValidatingService
Validates the provided service call definition. Any errors that are found can be reported using the context parameter.- Specified by:
validate
in interfaceISelfValidatingService
- Parameters:
definition
- the definition to be validatedcontext
- contextual information required to perform validation and report errors
-