MailSlurpAPI.Api.EmailController.get_raw_email_json
You're seeing just the function
get_raw_email_json
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
get_raw_email_json(connection, email_id, opts \\ [])
Specs
get_raw_email_json(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.RawEmailJson.t()} | {:error, Tesla.Env.t()}
Get raw email in JSON Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response
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