【问题标题】:How to get the last email sent with the Mandrill API如何获取使用 Mandrill API 发送的最后一封电子邮件
【发布时间】:2015-06-28 20:49:48
【问题描述】:

我想知道是否可以通过Mandrill API 获取最后一封电子邮件? 我查看了文档,但没有找到任何方法。

【问题讨论】:

    标签: ruby-on-rails ruby email mandrill


    【解决方案1】:

    您应该能够使用此调用来获取最近发送的消息元数据:

    https://mandrillapp.com/api/docs/messages.JSON.html#method=search

    然后这个获取给定消息的完整消息内容:

    https://mandrillapp.com/api/docs/messages.JSON.html#method=content

    【讨论】:

    • 是的,我使用了这个调用并将限制设置为1,我收到了最后一条消息!谢谢!
    猜你喜欢
    • 2016-02-28
    • 1970-01-01
    • 1970-01-01
    • 2015-07-11
    • 1970-01-01
    • 2023-03-28
    • 2016-03-14
    • 2014-05-04
    • 2015-02-12
    相关资源
    最近更新 更多