MailSlurpAPI.Api.EmailController.get_raw_email_contents
You're seeing just the function
get_raw_email_contents
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
get_raw_email_contents(connection, email_id, opts \\ [])
Specs
get_raw_email_contents(Tesla.Env.client(), String.t(), keyword()) :: {:ok, String.t()} | {:error, Tesla.Env.t()}
Get raw email string. Returns unparsed raw SMTP message with headers and body. Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- email_id (String.t): ID of email
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure