Form Mail NG: hardcode subject prefix followed by user entered input

In the mail-form/mail-input macro, I can see how to hardcode a hidden subject, or precode one that users can edit, or just let users come up with one. What I would like to do is create a form that sends an email with a subject along the lines of "[consistent prefix] <user entered subject>." I know confluence allows configuration of email prefix at the global level but can I do this for only a particular form?

1 answer

Hi Mike,

Please accept my apologies in the delay in getting back to you - I'd not seen this before. At the moment it is not possible to provide such functionality, although we did consider it for the recent release of Form Mail for Confluence 4.1.

However we have provided some level of flexibility for setting the subject of outgoing mail.

Firstly, you can (as you know) set a hardcoded value that can't be changed. Alternatively, you can allow users to set the subject directly. Both of these methods existed previously and both give you access to (limited) velocity values - so you can automatically add logged in users name and email address.

In the latest Form Mail, we've introduced the ability to create a drop down list that your users can select from which will then set the subject of the outgoing mail. Whilst this doesn't allow you to append user input to 

You can check out the documentation for more information and instructions on setting the subject of outgoing emails using Form Mail for Confluence.

 

Kind Regards,

Hessom

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,115 views 2 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you