发送邮件服务
服务说明
配置说明
{
"email": {
"smtp": {
"host": "smtp.exmail.qq.com",
"port": 465,
"secure": true,
"auth": {
"user": "",
"pass": ""
}
}
}
}使用说明
Last updated
Was this helpful?
{
"email": {
"smtp": {
"host": "smtp.exmail.qq.com",
"port": 465,
"secure": true,
"auth": {
"user": "",
"pass": ""
}
}
}
}Last updated
Was this helpful?
Was this helpful?
struct SendInfo
{
1 optional vector<string> to;
2 optional vector<string> cc;
3 optional vector<string> bcc;
4 optional string subject;
};
struct ContentInfo
{
1 optional string text;
2 optional string html;
};
struct MarkdownInfo
{
1 optional string markdown;
2 optional string css = "github.css";
};
interface SendEmail
{
int sendEmail(SendInfo send, ContentInfo info);
int sendEmailMarkdown(SendInfo send, MarkdownInfo info);
};