Forum: Radiant CMS [PATCH] Mailer Extension

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F5bb7b224939ac09f895ae677ec9ecff?d=identicon&s=25 Christian Niles (Guest)
on 2007-03-13 20:44
(Received via mailing list)
Hi All,

I put together a simple email form this morning, and everything
worked great. But one issue I ran into is that the From: header is
static, and there was no way to even set the Reply-To: header either.

My form is a simple contact system, and I wanted to make it easy to
respond to form emails by simply hitting reply. I've attached a patch
which supports this as follows:

* Adding a 'from_field' property to the config data tells the mailer
which form field contains the from email;

* Adding a 'reply_to_field' property to the config data specifies
which field to use for the Reply To: header;

* If no 'reply_to_field' property is present, the Reply-To: header
will be equal to the From: header.

This topic is locked and can not be replied to.