void add_cc (std::string cc);
void add_bcc (std::string bcc);
+ /** Add attachment, copying the contents of the file into memory */
void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type);
void send (std::string server, int port, EmailProtocol protocol, std::string user = "", std::string password = "");
std::vector<std::string> _bcc;
struct Attachment {
- boost::filesystem::path file;
+ dcp::ArrayData file;
std::string name;
std::string mime_type;
};