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
Community showcase
Published 6 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
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