title: Python ExchangeLib: Moving Folder of the item
body: <p>I am using the <a href="https://pypi.python.org/pypi/exchangelib/" rel="nofollow noreferrer">ExchangeLib</a> in Python. and wanted to move my email from A folder to B folder.</p>
  
  <pre><code>    # I logined the Exchange Server and took the items as below:
      all_items=account.inbox.all()
      # then wanted to move the folder as below:
      target_folder=account.inbox.get_folder_by_name("TCN")
      recentone = all_items[0]
      # then I wanted to move the folder to "TCN"
      recentone.folder=target_folder;
      recentone.save()
  </code></pre>
  
  <p>However, it's not working and I cannot find the solution at the moment.
  Is there any other way to move the folder of the item?</p>
  
  <p>Thank you in advance.</p>