projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get progress during formatting.
[dcpomatic.git]
/
src
/
lib
/
emailer.h
diff --git
a/src/lib/emailer.h
b/src/lib/emailer.h
index 7a614019e3c7e7c1a031250f323622d5093d2212..4ceedb9beade87a0426dbf61e9d0deb6ea0d4eeb 100644
(file)
--- a/
src/lib/emailer.h
+++ b/
src/lib/emailer.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015
-2019
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-30,7
+30,7
@@
public:
void add_bcc (std::string bcc);
void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type);
void add_bcc (std::string bcc);
void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type);
- void send (std::string server, int port, std::string user = "", std::string password = "");
+ void send (std::string server, int port,
EmailProtocol protocol,
std::string user = "", std::string password = "");
std::string notes () const {
return _notes;
std::string notes () const {
return _notes;
@@
-48,6
+48,8
@@
public:
private:
private:
+ std::string fix (std::string s) const;
+
std::string _from;
std::list<std::string> _to;
std::string _subject;
std::string _from;
std::list<std::string> _to;
std::string _subject;