textbelt icon indicating copy to clipboard operation
textbelt copied to clipboard

Getting error message, but text still sends.

Open clarkhacks opened this issue 4 years ago • 2 comments

curl -X POST http://localhost:9090/text -d number=REDACTED -d "message=Testing www.test.com"
{"success":false,"message":"Communication with SMS gateway failed. Did you configure mail transport in lib/config.js?  Error message: 'Data command failed: 421 4.3.0 Temporary System Problem.  Try again later (10). l21sm4796570otd.0 - gsmtp'"}

lib/config.js

const SENDMAIL_TRANSPORT = {
  // This transport uses the local sendmail installation.
  sendmail: true,
  newline: 'unix',
  path: '/usr/sbin/sendmail',
};

const SMTP_TRANSPORT = {
  service: 'Gmail', // no need to set host or port etc.
  auth: {
      user: 'REDACTED',
      pass: 'REDACTED'
  }
};

module.exports = {
  transport: SMTP_TRANSPORT,
  mailOptions: {
    from: '"REDACTED" REDACTED',
  },
  debugEnabled: false,
};

clarkhacks avatar Dec 14 '20 21:12 clarkhacks

Same troubles

aaron3238 avatar Jan 20 '21 19:01 aaron3238

Can some one help me setup text belt. Contact me via [email protected]. @smslord (telegram)

brytisioma avatar Mar 31 '21 20:03 brytisioma