- list<string> to;
- to.push_back ("carl@dcpomatic.com");
-
- Emailer emailer (_from, to, "DCP-o-matic problem report", body);
- emailer.send ("main.carlh.net", 2525, EMAIL_PROTOCOL_STARTTLS);
+ Email email(_from, {"carl@dcpomatic.com"}, variant::insert_dcpomatic("%1 problem report"), body);
+ email.send("main.carlh.net", 2525, EmailProtocol::STARTTLS);