Function email::utils::read_file
Defined in File utils.hpp
Function Documentation
-
std::optional<std::string> email::utils::read_file(const std::string &path)
Read and get file content.
- Parameters:
path – the path to the file
- Returns:
the file content, or
std::nullopt
if it failed (e.g. file does not exist)