使用gmail中的imaplib下载大于25MB的附件

时间:2016-05-26 21:50:48

标签: python email imaplib

我正在寻找一种从gmail下载超过25MB的附件的方法,因此Gmail没有附加它们,但它输入了一个链接,可以在电子邮件中下载它们。那么我怎样才能更改以下代码以使其在某种程度上提取链接并下载文件?

int secret_foo(void)
{
  int *key = malloc(sizeof(int));
  *key = get_secret();
  memset(key, 0, sizeof(int));
  // other magical things...
  return result;
}

0 个答案:

没有答案