textbelt
textbelt copied to clipboard
Getting error message, but text still sends.
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,
};
Same troubles
Can some one help me setup text belt. Contact me via [email protected]. @smslord (telegram)