MailSlurpAPI.Api.EmailController.forward_email
You're seeing just the function
forward_email
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
forward_email(connection, email_id, forward_email_options, opts \\ [])
Specs
forward_email( Tesla.Env.client(), String.t(), MailSlurpAPI.Model.ForwardEmailOptions.t(), keyword() ) :: {:ok, nil} | {:error, Tesla.Env.t()}
Forward email to recipients
Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the from
option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints.
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- email_id (String.t): ID of email
- forward_email_options (ForwardEmailOptions): forwardEmailOptions
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure