SMTP_DATA work.
This commit is contained in:
1 parent
bb1c2cf944
commit
30cd31c171
4 files changed
+26
-14
No files matched your search
+4
-1
@@ -70,7 +70,10 @@ namespace mail {
|
||||
return coreutils::MString(temp.str());
|
||||
}
|
||||
|
||||
coreutils::MString __SMTP_DATA::queueMail(SMTPServer &server, coreutils::MString &sender, std::vector<coreutils::MString> &recipientList, std::stringstream &mailData) {
|
||||
coreutils::MString __SMTP_DATA::queueMail(SMTPServer &server,
|
||||
coreutils::MString &sender,
|
||||
std::vector<coreutils::MString> &recipientList,
|
||||
std::stringstream &mailData) {
|
||||
coreutils::MString fileName;
|
||||
fileName << server.mailFileSystem.getMailPath() << "/.queue/" << generateMailFileName();
|
||||
coreutils::File mailFile(fileName, O_CREAT | O_WRONLY, 0660);
|
||||
|
||||
Reference in new issue
Block a user