[英]How to import data from another Google Sheet using Google Script without using Spreadsheet ID
[英]how to import data from gmail to a spreadsheet using script
我想知道是否可以獲取新的電子郵件數據並將其放入電子表格中。.之所以這樣做,是因為我需要使用“ FROM:(example@ie.com OR example @ ie.com OR example@ie.com)(“完成”或“文件”)具有“附件”。 如果搜索中有新的電子郵件,我需要將其返回到工作表中所需范圍內的新行。
這是描述我需要做什么的鏈接https://docs.google.com/spreadsheets/d/1oRrB8JSR1lVHGhjBd5-BU9XxkuaBZPG_MwVq5uEiioE/edit?usp=sharing
感激
您可以使用GmailApp.search('Your_serach_criteria')
。 這將返回一組Gmail線程,然后您可以對其進行迭代以提取郵件並提取所需的信息並放入電子表格中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.