【问题标题】:Fetch yahoo mail content within date range using YQL使用 YQL 获取日期范围内的 yahoo 邮件内容
【发布时间】:2014-02-26 13:11:46
【问题描述】:

我正在使用带有 Web 服务的 yahoo 查询语言来使用 oauth 检索 yahoo 邮件。现在我的用例是下载给定时间范围内的所有电子邮件。

如何构造查询以获取时间范围内的数据?

我使用的查询(它不工作):

select message from ymail.msgcontent where (mids) in (SELECT  mid  FROM ymail.messages WHERE fid="Sent" and messageInfo.receivedDate >  1393417547 

谁能帮我写一个正确的。

【问题讨论】:

    标签: email oauth yql yahoo-mail


    【解决方案1】:

    不是直接选择mid,而是选择messageInfo.mid 会修复它

    下面的查询起到了神奇的作用: select message from ymail.msgcontent where (mids) in (select messageInfo.mid from ymail.messages where messageInfo.receivedDate > 1392658116)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-02-23
      • 2013-03-02
      • 1970-01-01
      • 1970-01-01
      • 2012-03-08
      • 2014-01-07
      • 1970-01-01
      相关资源
      最近更新 更多