58 |
|
|
59 |
void SmsToolTransceiver::SendSms(std::string to, std::string message, bool allowMultipart) |
void SmsToolTransceiver::SendSms(std::string to, std::string message, bool allowMultipart) |
60 |
{ |
{ |
61 |
|
if (allowMultipart == false && message.size() > 160) |
62 |
|
message = message.substr(0,160); |
63 |
|
|
64 |
|
|
65 |
std::string filename = CreateFilename(); |
std::string filename = CreateFilename(); |
66 |
Logger::logMessage( std::string("Sending sms to: ") + to); |
Logger::logMessage( std::string("Sending sms to: ") + to); |
67 |
|
|