Class SubmitRawEmailRequest

  • All Implemented Interfaces:
    HasContentLength

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220926")
    public class SubmitRawEmailRequest
    extends BmcRequest<InputStream>
    implements HasContentLength

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/emaildataplane/SubmitRawEmailExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SubmitRawEmailRequest.

    • Constructor Detail

      • SubmitRawEmailRequest

        public SubmitRawEmailRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment that contains the approved sender resource.
      • getSender

        public String getSender()
        The envelope and the header from email address, that is sending the email.

        Email address must be an approved sender.

      • getRecipients

        public List<String> getRecipients()
        The destination for the email, all recipients including to, cc and bcc addresses.
      • getRawMessage

        public InputStream getRawMessage()
        This should be formatted in valid MIME format.

        Message can include attachments. MIME libraries should be used to convert the content into the appropriate format.

      • getOpcRequestId

        public String getOpcRequestId()
        The request ID for tracing from the system
      • builder

        public static SubmitRawEmailRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<InputStream>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<InputStream>