java.lang.Object
com.aquima.interactions.framework.service.mail.MailService
All Implemented Interfaces:
ISelfValidatingService, IService

public class MailService extends Object implements ISelfValidatingService
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 Details

  • Constructor Details

    • MailService

      public MailService()
  • Method Details

    • handle

      public IServiceResult handle(IServiceContext context) throws Exception
      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.
      Specified by:
      handle in interface IService
      Parameters:
      context - the context in which the service is called and allowed to make changes.
      Returns:
      The result of this service, may be null.
      Throws:
      Exception - When an unexpected exception occurs and the portal should display a standard message.
    • validate

      public void validate(IServiceCallDefinition definition, ISelfValidationContext context)
      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 interface ISelfValidatingService
      Parameters:
      definition - the definition to be validated
      context - contextual information required to perform validation and report errors