RDOJunkEmailOptions object |
RDOJunkEmailOptions object represents Junk E-mail settings for either a MAPI session (profile-wide) or for a particular Exchange mailbox.
Returned by:
RDOSession.JunkEmailOptions, RDOExchangeMailboxStore.JunkEmailOptions
In case of the profile settings (returned by RDOSession.JunkEmailOptions), the data is stored locally in the registry (profile section) and, if the primary store in the profile is an Exchange mailbox, in the Exchange mailbox as an extended rule.
RDOExchangeMailboxStore.JunkEmailOptions returns Exchange mailbox specific settings that can be different from the settings for the current user in case of a delegate mailbox (see the example below)
The example below prints all blocked sender addresses and domains in the current profile.
set Session =
CreateObject("Redemption.RDOSession") |
The example below opens the mailbox owned by another Exchange user and adds a domain to the list of trusted senders.
set Session =
CreateObject("Redemption.RDOSession") |
Derived from: IDispatch |
|||
|
|||
Properties |
|||
|
|||
AddRecipientsToSafeSendersList |
Boolean, read/write. If true, the recipients of the outgoing messages sent by Outlook are automatically added to the list of the trusted senders. Note that recipients of the messages sent through RDOMail.Send, are not automatically added to the safe recipients.
|
||
BlockedDomains |
Returns Strings object representing blocked top level domains.
|
||
BlockedEncodings
|
Returns Strings object representing blocked language encodings. |
||
BlockedSenders
|
Returns Strings object representing blocked sender addresses and domains.
|
see above |
|
FilteringLevel
|
JunkThreshold enum, read/write.
Possible JunkThreshold values: jtSafeSendersOnly (0); jtHigh (3)
|
|
|
IncludeContacts
|
Boolean, read/write. If true, the addresses of the contacts from the default Contacts folder will be added to the TrustedContacts list (see below). Note that the RDOJunkEmailOptions object does not automatically update the TrustedContacts list.
|
|
|
LastUpdated
|
DateTime, read/write. The date and time when the Junk E-mail options were last updated. Unless this property is explicitly set, calling save will set this property to the current date and time. When reconciling registry (returned by RDOSession.JunkEmailOptions) and mailbox store (returned by RDOExchangeMailboxStore.JunkEmailOptions) Junk E-mail options, this property will determine which options set wins.
|
|
|
PermanentlyDelete |
Boolean, read/write. If true, suspected junk messages are automatically deleted instead of being moved to the Junk E-mail folder.
|
|
|
PhishingEnableLinks
|
Boolean, read/write. If false, the links in the suspected phishing messages are disabled.
|
|
|
PostmarkOutgoingMail
|
Boolean, read/write. If true, the outgoing messages are automatically postmarked to help the recipients distinguish between regular e-mail and junk e-mail. Note that messages sent through RDOMail.Send, are not automatically postmarked.
|
|
|
TrustedContacts
|
Returns Strings object representing addresses of the trusted contacts. By default, Outlook populates this list with the addresses of the contacts in the default Contacts folders. This list is not visually displayed by the Outlook UI.
Note that the RDOJunkEmailOptions object does not automatically update the TrustedContacts list.
|
see above |
|
TrustedRecipients
|
Returns Strings object representing trusted recipient addresses and domains.
|
|
|
TrustedSenders
|
Returns Strings object representing trusted sender addresses and domains.
|
|
|
Methods |
|||
|
|||
Save |
Saves the Junk E-mail options.
|
||
|