class MailboxSettings
Settings for the primary mailbox of a user.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/outlook/mail/mailbox_settings.py
7 - 38
moderate
Purpose
Settings for the primary mailbox of a user.
Source Code
class MailboxSettings(ClientValue):
"""Settings for the primary mailbox of a user."""
def __init__(
self,
time_format=None,
time_zone=None,
automatic_replies_setting=AutomaticRepliesSetting(),
archive_folder=None,
date_format=None,
language=LocaleInfo(),
working_hours=WorkingHours(),
):
"""
:param str time_format: The time format for the user's mailbox.
:param str time_zone: The default time zone for the user's mailbox.
:param AutomaticRepliesSetting automatic_replies_setting: Configuration settings to automatically notify
the sender of an incoming email with a message from the signed-in user.
:param str archive_folder: Folder ID of an archive folder for the user.
:param str date_format: The date format for the user's mailbox.
:param LocaleInfo language: The locale information for the user, including the preferred language
and country/region.
:param WorkingHours working_hours: The days of the week and hours in a specific time zone that the user works.
"""
super(MailboxSettings, self).__init__()
self.timeFormat = time_format
self.timeZone = time_zone
self.automaticRepliesSetting = automatic_replies_setting
self.archiveFolder = archive_folder
self.dateFormat = date_format
self.language = language
self.workingHours = working_hours
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
ClientValue | - |
Parameter Details
bases: Parameter of type ClientValue
Return Value
Returns unspecified type
Class Interface
Methods
__init__(self, time_format, time_zone, automatic_replies_setting, archive_folder, date_format, language, working_hours)
Purpose: :param str time_format: The time format for the user's mailbox. :param str time_zone: The default time zone for the user's mailbox. :param AutomaticRepliesSetting automatic_replies_setting: Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. :param str archive_folder: Folder ID of an archive folder for the user. :param str date_format: The date format for the user's mailbox. :param LocaleInfo language: The locale information for the user, including the preferred language and country/region. :param WorkingHours working_hours: The days of the week and hours in a specific time zone that the user works.
Parameters:
time_format: Parametertime_zone: Parameterautomatic_replies_setting: Parameterarchive_folder: Parameterdate_format: Parameterlanguage: Parameterworking_hours: Parameter
Returns: None
Required Imports
from office365.outlook.calendar.working_hours import WorkingHours
from office365.outlook.locale_info import LocaleInfo
from office365.outlook.mail.automatic_replies_setting import AutomaticRepliesSetting
from office365.runtime.client_value import ClientValue
Usage Example
# Example usage:
# result = MailboxSettings(bases)
Tags
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class SearchSettings 50.2% similar
-
class UserSettings 50.0% similar
-
class SearchSetting 49.2% similar
-
class CollaborationMailbox 47.1% similar
-
class OutlookUser 46.5% similar