std::string s1 = u8"当前时间是2018年"; sendMail(s1);
char timedisplay[128] = { 0 }; std::strftime(timedisplay, sizeof(timedisplay), "当前时间时%Y年", std::gmtime((const time_t*)&timeStamp)); sendMail(timedisplay);