Forums

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

Confluence add header to mail request

Syed Hussain March 1, 2018

I have setup mail server through admin console.I am able to send mails for actions.But my exchange team is asking me to add a header(x-binding) to the trigger mail request.

I have confluence source code.could you help me in finding the code where i need to make changes?

1 answer

0 votes
Vasiliy Zverev
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.
March 2, 2018

There is a setting of mail server - prefix. It is added to all mails from Confluence

Syed Hussain March 2, 2018

prefix will be added to mail "Subject".But i wanted to add binding variable as a metadata to smtp post request header.

 

example:

X-binding: marketing

Content-Type: text/html

Subject: Simple Binding Test

From: no-reply@mail.test.com

To: testaccount@gmail.com 

<html><body>hello world</body></html>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events