Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error message, but text still sends. #158

Open
clarkhacks opened this issue Dec 14, 2020 · 2 comments
Open

Getting error message, but text still sends. #158

clarkhacks opened this issue Dec 14, 2020 · 2 comments

Comments

@clarkhacks
Copy link

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,
};
@aaron3238
Copy link

Same troubles

@brytisioma
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants