擅长:python、mysql、java
<p><code>GetLast</code>和<code>GetFirst</code>是链接到<code>inbox.Items</code>的方法</p>
<pre><code>all_inbox = inbox.Items
all_inbox.Sort('[ReceivedTime]', True)
first = all_inbox.GetFirst()
last = all_inbox.GetLast()
</code></pre>
<p>编辑:正如@Dmitry Streblechenko所说的,您首先需要按接收时间排序收件箱。项目你知道吗</p>