MailSlurpAPI.Api.EmailController.send_email_source_optional

You're seeing just the function send_email_source_optional, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function

send_email_source_optional(connection, opts \\ [])

Specs

send_email_source_optional(Tesla.Env.client(), keyword()) ::
  {:ok, nil} | {:error, Tesla.Env.t()}

Send email Alias for InboxController.sendEmail method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :inbox_id (String.t): ID of the inbox you want to send the email from
    • :use_domain_pool (boolean()): Use domain pool. Optionally create inbox to send from using the mailslurp domain pool.
    • :send_email_options (SendEmailOptions): Options for the email

      Returns

} on success {:error, info} on failure