Hi,
I am trying to either disable (edit smtp server to something invalid) or delete and then add after some time the SMTP server, to avoid mail spamming for deleted attachment versions of attachments and pages via a service account.
If I take the Powershell script from Chrome and add to it -usedefaultcredentials, then I am getting a HTTP Status Code 403.
the uri would be <URL>/admin/mail/createmailserver.action?protocol=smtp
for the form and then for the POST request:
<URL>/admin/mail/docreatemailserver.action - in this request the form fields are specified in the body.
Is anybody doing such things with PowerShell in Confluence server? (not cloud)
Is it maybe possible to disable just the mail notifications for the deletion of versions?