2 #include "../acl_cpp_define.hpp" 3 #include "../stdlib/string.hpp" 5 #if !defined(ACL_MIME_DISABLE) 24 mail_attach(
const char* filepath,
const char* content_type,
35 mail_attach& set_filename(
const char*
name,
const char* charset = NULL);
51 return filepath_.c_str();
60 return filename_.c_str();
69 return ctype_.c_str();
87 bool save_to(
mime_code* coder,
string& out);
102 void build_header(
const char* transfer_encoding,
string& out);
111 bool rfc2047_encode(
const char*
name,
const char* charset,
string& out);
116 #endif // !defined(ACL_MIME_DISABLE)
HTTP_API void const char * name
const char * get_filepath() const
const char * get_filename() const
const char * get_content_id() const
const char * get_content_type() const