Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/JonathanLondon/domoticz
Browse files Browse the repository at this point in the history
 into development
  • Loading branch information
JonathanLondon committed Sep 20, 2018
2 parents d1dd9bd + f7fa780 commit 97c4733
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions smtpclient/SMTPClient.cpp
Expand Up @@ -225,7 +225,7 @@ const std::string SMTPClient::MakeMessage()
//From
ret = "From: " + m_From + "\r\n";

//To (first one, rest in BCC)
//To (first one, rest in Cc)
ii = 0;
for (itt = m_Recipients.begin(); itt != m_Recipients.end(); ++itt)
{
Expand Down Expand Up @@ -369,8 +369,8 @@ const std::string SMTPClient::MakeMessage()
}

// We do not have to end the message with "<CRLF>.<CRLF>" as libcurl does this for us, but ensure the last line is terminated
// ret += "\n.\n";

// ret += "\r\n.\r\n";
ret += "\r\n";

return ret;
Expand Down

0 comments on commit 97c4733

Please sign in to comment.