Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

invoke-webrequest SMTP Server 403 Forbidden

Vadim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2021

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?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events