- Moved by Fei XueMicrosoft contingent staff 4 hours 46 minutes ago
You can read more about the Junk Email filters in Outlook 2013 in the Configure junk email settings in Outlook 2013 article.
Anyway, I'd suggest asking non-programming questions on the Outlook IT Pro Discussions or Microsoft Community forums instead.
On the low level, Junk Mail settings are stored either in the registry in the account profile data or (in case of Exchange mailbox) as a rule (stored as a hidden message in the Inbox folder).
Outlook Object Model does not provide any means to manipulate the Junk Mail settings. If using Redemption is an option, it exposes the settings through the RDOJunkMailOptions object, returned either by the RDOAccount, RDOSession, or RDOExchangeMailBoxStore objects.