Package com.veeva.vault.sdk.api.email
Interface EmailProcessorContext
public interface EmailProcessorContext
Provides contextual information for the execution of an
EmailProcessor.
An instance of this context is passed by the system to the
EmailProcessor.execute(EmailProcessorContext) method.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theEmailItemthat is being processed.Retrieves the name of the Inbound Email Address record that received this email.
-
Method Details
-
getEmailItem
EmailItem getEmailItem()Retrieves theEmailItemthat is being processed.- Returns:
- The single
EmailItemrepresenting the inbound email.
-
getInboundEmailAddressName
String getInboundEmailAddressName()Retrieves the name of the Inbound Email Address record that received this email.- Returns:
- The name of the inbound email address, for example,
inbox__c.
-