Use a "From" adress other than the site address
One stock-field is called replyto and contains a valid email address. I want this address to be in the From: line - not just in Reply-To:. So I could fill in a TALES expression to overwrite the default sender-address. But what's the correct TALES expression for that?
By default, PloneFormGen's mailer sends mail with the "From" address set to the site's global "From" address (specified in site setup / Portal Settings). That's the standard return address for portal-generated mail, but you may wish to use another.
In the mailer's overrides sub-form, set the Sender Expression to:
request/form/replyto
to use the address filled in for the "replyto" form field.
You could also specify a literal:
string:test@mysite.org
Be cautious about using user-submitted addresses for the "From" address. It's important that the "From" address be a real one, owned by a responsible person.
