Function email::utils::response::get_email_content_from_response
Defined in File response_utils.hpp
Function Documentation
-
std::optional<struct EmailContent> email::utils::response::get_email_content_from_response(const std::string &response, EmailHeaders &headers)
Get email content from raw request response.
- Parameters:
response – the result of the request
headers – the headers already parsed from the response
- Returns:
the email content, or
std::nullopt
if it failed