Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

invoke-webrequest SMTP Server 403 Forbidden

Vadim I'm New Here Jun 21, 2021


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
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

169 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you