Use a "From" adress other than the site address
Up to Table of ContentsThis FAQ applies to: Any version.
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.