Personal tools
You are here: Home Products PloneFormGen Documentation FAQs Use a "From" adress other than the site address
Document Actions

Use a "From" adress other than the site address

Up to Table of Contents

This FAQ applies to: Any version.

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.

by Steve McMahon last modified March 5, 2007 - 22:21

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by