Is there an API or DB query to set the SMTP account's password?

Joe Fiddie September 14, 2020

Confluence Data Center 7.6.0- Looking for a programmatic method of updating the password for the SMTP mail server in our Confluence instance.  I have looked through the Confluence API documentation and  the setenv.sh properties but did not see anything about it.

 

 

1 answer

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2020

Hi @Joe Fiddie ,

It doesn't seem possible with API. SMTP information is included in the BANDANA table.

SELECT * FROM BANDANA where BANDANAKEY='atlassian.confluence.smtp.mail.accounts';
UPDATE BANDANA SET BANDANAVALUE='<MODIFIED-XML>' WHERE BANDANAKEY='atlassian.confluence.smtp.mail.accounts';

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.6.0
TAGS
AUG Leaders

Atlassian Community Events