邮件未送达

时间:2019-08-20 14:40:35

标签: twilio

我们正在使用Twilio验证电话号码并恢复密码。即使Twilio中的状态表明消息已发送或发送,用户也常常无法获得消息。

检查格式是否正确

phone_number = client.lookups.phone_numbers(str(d['country_code']) + str(mobile)).fetch()

发送

client = Client(settings.ACCOUNT_SID,settings.AUTH_TOKEN)
        message = client.messages.create(to=to, messaging_service_sid=settings.MESSAGE_NUMBER, body=body)

0 个答案:

没有答案
相关问题