This has been covered many times in the forums, you must send the email to the Spam account as an attachment (it MUST be sent as an attachment) ham would obviously go to the ham account. Search
bugzilla for an RFE to add support for spam/ham training for Outlook and add your vote to it.