Change Subject of Emails in Form Mail NG

Sven Behncken February 8, 2012

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

1 vote
Andy Brook [Plugin People]
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.
February 12, 2012

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

Jonathan Simonoff
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.
July 22, 2013

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