diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-23 21:53:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-23 21:53:51 +0000 |
| commit | 320c9b6d68d111bc0768e210cc8c7ae9d0d7c22e (patch) | |
| tree | 7ad4f70d6d32fc465b5826b333596696f67e8972 /src/tools | |
| parent | 692e67b9dc1e8cd72546b3766e8f38956932ee58 (diff) | |
Move default config options into their own tab; support user/password for SMTP TLS/SSL.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index c20283b2e..72fb56b4f 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -53,6 +53,7 @@ #include "lib/exceptions.h" #include "lib/cinema.h" #include "lib/kdm.h" +#include "lib/send_kdm_email_job.h" using std::cout; using std::string; @@ -459,7 +460,9 @@ private: if (d->write_to ()) { write_kdm_files (film, d->screens (), d->dcp (), d->from (), d->until (), d->directory ()); } else { - email_kdms (film, d->screens (), d->dcp (), d->from (), d->until ()); + JobManager::instance()->add ( + shared_ptr<Job> (new SendKDMEmailJob (film, d->screens (), d->dcp (), d->from (), d->until ())) + ); } } catch (KDMError& e) { error_dialog (this, e.what ()); |
