MailSlurpAPI.Api.InboxController.send_email

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

send_email(connection, inbox_id, opts \\ [])

Specs

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

Send Email Send an email from an inbox's email address. The request body should contain the SendEmailOptions that include recipients, attachments, body etc. See SendEmailOptions for all available properties. Note the inboxId refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method sendEmailAndConfirm.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • inbox_id (String.t): ID of the inbox you want to send the email from
  • opts (KeywordList): [optional] Optional parameters
    • :send_email_options (SendEmailOptions): Options for the email

      Returns

} on success {:error, info} on failure