title: Do an action with a mail selected, that moves that mail into a folder in the corresponding bank/account/mailbox
body: <p>I have a code to move a mail into a folder created with the name of the expeditor.
  But I have 4 different mails bank/account (one with &quot;.fr&quot;,the second with &quot;.com&quot;..), and by default, the folders are all created (and the mails are moved) in the first and main account, so my mails are mixed.</p>
  <p>The bit of code actually used is :</p>
  <hr />
  <h2>Set myRoot = Session.GetDefaultFolder(olFolderInbox)</h2>
  <p>I tried to look at the object explorer in the VBA outlook macro interface, but I just found Getdefaultfolder (in namespace or store class), that I don't really understand. I didn't found the &quot;session&quot; thing, and nothing seems to compile effectively aside for the actual bit of code..</p>
  <p>Do you have any idea for my code to work in the same &quot;mail bank&quot; than the selected mail ?
  Thanks you so much !</p>
  <p>Overflowly,
  Keyo</p>