Changeset 92c18c14e163e2ab3200ccad6c6c0e6ee5c3e1a6
- Timestamp:
- 08/28/10 22:40:03 (18 months ago)
- Author:
- Antti-Juhani Kaijanaho <antti-juhani@…>
- Children:
- e044cc70b8bbba183fdf396ddbc00b2407eb5bea
- Parents:
- 28939ac15506b95f59142a06b7d6794a801f8198
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (08/28/10 22:40:03)
- Message:
-
Make Alue self-identity in emails configurable
Fixes #52
Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rf3e4a78
|
r92c18c1
|
|
| 116 | 116 | po::value<std::string>()->default_value("/"), |
| 117 | 117 | "name of the daemon home directory") |
| | 118 | ("alue-name", |
| | 119 | po::value<std::string>()->default_value("Alue"), |
| | 120 | "the 'real name' Alue should use of itself") |
| 118 | 121 | ("operator-email", |
| 119 | 122 | po::value<std::string>(), |
-
|
r1a490d9
|
r92c18c1
|
|
| 133 | 133 | std::string to = delivery_email; |
| 134 | 134 | std::string from = |
| 135 | | std::string("Alue <") + |
| | 135 | config["alue-name"].as<std::string>() + |
| | 136 | " <" + |
| 136 | 137 | config["operator-email"].as<std::string>() + |
| 137 | 138 | ">"; |
-
|
r751fac6
|
r92c18c1
|
|
| 121 | 121 | std::string ton = u->get_display_name(); |
| 122 | 122 | std::string to = u->get_delivery_email(); |
| 123 | | std::string from = std::string("Alue <") + |
| | 123 | std::string from = |
| | 124 | config["alue-name"].as<std::string>() + |
| | 125 | " <" + |
| 124 | 126 | config["operator-email"].as<std::string>() + |
| 125 | 127 | ">"; |
-
|
r751fac6
|
r92c18c1
|
|
| 88 | 88 | std::string to = u->get_delivery_email(); |
| 89 | 89 | std::string from = |
| 90 | | std::string("Alue <") + |
| | 90 | config["alue-name"].as<std::string>() + |
| | 91 | " <" + |
| 91 | 92 | config["operator-email"].as<std::string>() + |
| 92 | 93 | ">"; |