MCPcopy Create free account
hub / github.com/O365/python-o365 / set_disable_reply

Method set_disable_reply

O365/mailbox.py:833–844  ·  view source on GitHub ↗

Disable the automatic reply for the mailbox. :return: Success / Failure :rtype: bool

(self)

Source from the content-addressed store, hash-verified

831 return value
832
833 def set_disable_reply(self):
834 """Disable the automatic reply for the mailbox.
835
836 :return: Success / Failure
837 :rtype: bool
838 """
839
840 mailboxsettings = self.get_settings()
841 ars = mailboxsettings.automaticrepliessettings
842
843 ars.status = AutoReplyStatus.DISABLED
844 return mailboxsettings.save()
845
846 def inbox_folder(self):
847 """Shortcut to get Inbox Folder instance

Callers

nothing calls this directly

Calls 2

get_settingsMethod · 0.95
saveMethod · 0.45

Tested by

no test coverage detected