下面是设置:我们在一个免费的Mandrill级别,通过PHP使用API。使用Mandrill站点上的示例脚本(以下链接)并仅更改一些基本要素(键、收件人等).
https://mandrillapp.com/api/docs/messages.php.html
.我们发现“send_at”参数正在挂起我们如果“send_at”设置为NULL或“”,以下是脚本的响应:
Array ( [0] => Array ( [email] => someone@somewhere.com [status] => queued [_id] => 0c16bc002c874911ae36558881e5da77 ) ) 如果我们将日期/时间分配给“send_at”参数(根据Mandrill指令,过去的日期),我们将从脚本中得到以下响应:
A mandrill error occurred: Mandrill_PaymentRequired - Email scheduling is only available for accounts with a positive balance. 我们与“send_at”参数有什么关系才能成功地使用Mandrill API和免费帐户?
发布于 2014-12-06 02:08:55
您可以完全省略该参数。它是可选的,而且由于您没有计划,所以不需要提供它。我们建议删除您实际上没有为测试目的而设置的任何可选参数,然后只添加您在调用中需要或正在指定的参数。
https://stackoverflow.com/questions/27322618
复制相似问题