diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-09 21:26:27 +0000 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-09 21:26:27 +0000 | 
| commit | a86841d133060b4f0f4671266e7a1ed2e70850b7 (patch) | |
| tree | 8f55eaf7b6339124044e326501e0e5b14a0826ae | |
| parent | Updates to work with new icetray/libdbpp interfaces (diff) | |
| download | gentoobrowse-api-a86841d133060b4f0f4671266e7a1ed2e70850b7.tar.bz2 gentoobrowse-api-a86841d133060b4f0f4671266e7a1ed2e70850b7.tar.xz gentoobrowse-api-a86841d133060b4f0f4671266e7a1ed2e70850b7.zip  | |
MailServer setting needs port number, add to the default
| -rw-r--r-- | gentoobrowse-api/service/notifications/mailserverimpl.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/notifications/mailserverimpl.cpp b/gentoobrowse-api/service/notifications/mailserverimpl.cpp index c3dfdfa..8e4d229 100644 --- a/gentoobrowse-api/service/notifications/mailserverimpl.cpp +++ b/gentoobrowse-api/service/notifications/mailserverimpl.cpp @@ -14,7 +14,7 @@ namespace Gentoo {  			auto props = c.adapter->getCommunicator()->getProperties();  			smtp_session_t session = smtp_create_session();  			smtp_message_t message = smtp_add_message(session); -			auto server = props->getPropertyWithDefault("GentooBrowseAPI.MailServer", "localhost"); +			auto server = props->getPropertyWithDefault("GentooBrowseAPI.MailServer", "localhost:25");  			smtp_set_server(session, server.c_str());  			smtp_set_header(message, "To", msg->to.name.c_str(), msg->to.address.c_str());  			smtp_set_header(message, "From", msg->from.name.c_str(), msg->from.address.c_str());  | 
