Function email::utils::split_email_list(const std::string&, const bool)

Function Documentation

std::vector<std::string> email::utils::split_email_list(const std::string &list, const bool has_space_after_comma = false)

Split list of emails separated by a comma.

Parameters:
  • list – the list of emails

  • has_space_after_comma – whether there is a space after the comma, before the next email

Returns:

the individual emails as a vector