diff options
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-support/smtp/files/src/message_builder/cc.cpp')
-rw-r--r-- | meta-ibs/meta-cp2-5422/recipes-support/smtp/files/src/message_builder/cc.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-support/smtp/files/src/message_builder/cc.cpp b/meta-ibs/meta-cp2-5422/recipes-support/smtp/files/src/message_builder/cc.cpp deleted file mode 100644 index c686ef2057..0000000000 --- a/meta-ibs/meta-cp2-5422/recipes-support/smtp/files/src/message_builder/cc.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include "cc.hpp" - -namespace smtp::message_builder -{ - Cc::Cc( std::list<std::string> const& mail_to ) - : mMailTo( mail_to ) - { - - } - - std::string Cc::Get() const - { - std::string result; - if( mBase ) - { - result = mBase->Get(); - } - - if( mMailTo.empty() ) - { - return result; - } - - for(const auto& cc : mMailTo) - { - result += "Cc: " + cc + "\r\n"; - } - - return result; - } -} |