Function email::utils::get_env_var

Function Documentation

std::string email::utils::get_env_var(const std::string &env_var)

Get an environment variable value.

Parameters:

env_var – the environment variable name

Throws:

std::runtime_error – on error

Returns:

the value, or an empty string if it does not exist