ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::xarg_mail Struct Reference

邮件配置结构体 More...

#include <xmlinfo.h>

Public Attributes

std::string m_smtp
 SMTP服务器地址
std::string m_email
 发送者邮箱
std::string m_password
 邮箱密码
std::string m_name
 发送者名称
std::vector< mail_namem_recvs
 接收者列表

Detailed Description

邮件配置结构体

包含SMTP服务器配置和邮件接收者列表。

ngl::xarg_mail mail_config;
mail_config.m_smtp = "smtp.example.com";
mail_config.m_email = "sender@example.com";
mail_config.m_password = "password";
mail_config.m_name = "System";
mail_config.m_recvs.push_back({"receiver@example.com", "Receiver"});

The documentation for this struct was generated from the following file: