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 | fda6f93b6b7da2eaa9b9d5ce1610db8df76d3d4b (patch) | |
tree | 8f55eaf7b6339124044e326501e0e5b14a0826ae | |
parent | Updates to work with new icetray/libdbpp interfaces (diff) | |
download | gentoobrowse-api-fda6f93b6b7da2eaa9b9d5ce1610db8df76d3d4b.tar.bz2 gentoobrowse-api-fda6f93b6b7da2eaa9b9d5ce1610db8df76d3d4b.tar.xz gentoobrowse-api-fda6f93b6b7da2eaa9b9d5ce1610db8df76d3d4b.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()); |