diff options
-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()); |