From fda6f93b6b7da2eaa9b9d5ce1610db8df76d3d4b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 9 Jan 2017 21:26:27 +0000 Subject: MailServer setting needs port number, add to the default --- gentoobrowse-api/service/notifications/mailserverimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3