[Radiant] [PATCH] Mailer Extension

Christian Niles unit12 at mac.com
Tue Mar 13 14:43:19 CDT 2007


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.

christian.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailer_page.patch
Type: application/octet-stream
Size: 1227 bytes
Desc: not available
Url : http://lists.radiantcms.org/pipermail/radiant/attachments/20070313/f78a7953/mailer_page.obj
-------------- next part --------------



More information about the Radiant mailing list