Interface EmailProcessor

All Superinterfaces:
com.veeva.vault.sdk.infrastructure.core.SdkEntryPoint<EmailProcessorContext>

public interface EmailProcessor extends com.veeva.vault.sdk.infrastructure.core.SdkEntryPoint<EmailProcessorContext>
Invoked to process an email received by the Vault Email Service.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(EmailProcessorContext emailProcessorContext)
    Email processing logic is implemented inside this method.
  • Method Details

    • execute

      void execute(EmailProcessorContext emailProcessorContext)
      Email processing logic is implemented inside this method. If exceptions are thrown, the current transaction rolls back and the email__sys object record associated with the EmailItem automatically transitions to the "Failed" lifecycle state.
      Parameters:
      emailProcessorContext - contextual information for the invocation of an email processor