MCPcopy Create free account
hub / github.com/acl-dev/acl / append_subject

Method append_subject

lib_acl_cpp/src/smtp/mail_message.cpp:314–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314bool mail_message::append_subject(const char* subject, string& out)
315{
316 out.append("Subject: ");
317 if (!rfc2047::encode(subject, (int) strlen(subject), &out,
318 charset_, 'B', false)) {
319
320 logger_error("rfc2047::encode error!");
321 return false;
322 }
323 out.append("\r\n");
324 return true;
325}
326
327bool mail_message::append_date(string& out)
328{

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected