title: PHP imap and folder name with space
body: <p>How to handle folder names which contains spaces? </p>
  
  <p>In every function which requires folder name, im using string like that:</p>
  
  <pre><code>{server.address.com:port}"INBOX.abc def"
  </code></pre>
  
  <p>but it causes php to crash with:</p>
  
  <pre><code>Can't subscribe to mailbox "INBOX.abc def": no such mailbox
  </code></pre>
  
  <p>changing string to look like this:</p>
  
  <pre><code>{server.address.com:port}INBOX."abc def"
  </code></pre>
  
  <p>doesnt change anything, still error. How can i open/check/whatever folder with space in name?</p>
  
  <p><strong>Edit:</strong>
  Question updated with a bit better error message</p>
  
  <p>Combinations of folder strings which i tried:</p>
  
  <ul>
  <li>"INBOX.abc def" - fail,</li>
  <li>INBOX."abc def" - fail,</li>
  <li>\INBOX\abc def  - fail,</li>
  <li>"\INBOX\abc def" - fail</li>
  </ul>