diff --git a/lib/text.js b/lib/text.js index c71df37..dd6a462 100644 --- a/lib/text.js +++ b/lib/text.js @@ -4,6 +4,7 @@ var providers = require('./providers.js') , spawn = require('child_process').spawn; var debugEnabled = false; +var fromAddress = 'foo@bar.com'; //---------------------------------------------------------------- /* @@ -56,7 +57,7 @@ function sendText(phone, message, region, cb) { _.each(providers_list, function(provider) { var email = provider.replace('%s', phone); email = 'Subject: Text\r\n\r\n' + email; - var child = spawn('sendmail', ['-f', 'txt2@textbelt.com', email]); + var child = spawn('sendmail', ['-f', fromAddress, email]); child.stdout.on('data', output); child.stderr.on('data', output); child.on('error', function(data) {