MailSlurpAPI.Api.InboxController.send_email_and_confirm
You're seeing just the function
send_email_and_confirm
, go back to MailSlurpAPI.Api.InboxController module for more information.
Link to this function
send_email_and_confirm(connection, inbox_id, opts \\ [])
Specs
send_email_and_confirm(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.SentEmailDto.t()} | {:error, Tesla.Env.t()}
Send email and return sent confirmation
Sister method for standard sendEmail
method with the benefit of returning a SentEmail
entity confirming the successful sending of the email with link the the sent object created for it.
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
} on success {:error, info} on failure