Change Subject of Emails in Form Mail NG

Hi Everybody!

We created a simpe Form with a textbox where the users can send us a message.

The subject of the email is always "[confluence] null".

[confluence] is the prefix. How can i change the subject from "null" to anything else? I coded this:

{mail-form:destination=myname@company.com}

*message*
{mail-textarea:name=message|cssStyle=width: 500px; height: 100px}

{mail-textarea}

{mail-submit}{mail-form}

Where do I Enter the Subject of the Mail?

Thank you very much!

1 answer

I think you need a subject entry in your form, you could also make it visible...

{mail-input:type=hidden|name=subject|vtlValue=Order#if($user) for $!user.fullName#end}

See http://www.adaptavist.com/display/Plugins/Form+Mail+NG

Thanks for this info -- the docs for this plugin don't mention how to do this. FYI -- this still works fir 5.1 and using the macro browser instead of markup, although I entered the subject in the value field, I believe, rather than the vtlValue (I think both were there).

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

214 views 4 9
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