This used to be the default behaviour, but changed as this form of "faking"
didn't work with many smtp gateways, and was considered bad form. At that
point we changed it to just set the "reply-to" header of the email. Right
now you're best off just modifying those few lines yourself.





On Wed, May 14, 2014 at 3:39 AM, Enrico Tröger <enrico.troe...@uvena.de>wrote:

> Hi guys,
>
> I need your help:
>
> on a customers site, I built a simple contact form using
> mezzanine.forms. Now the customer wants that in the generated mail the
> From: header is set to the email address entered in the contact form by
> the visitor.
>
> I had a look in mezzanine.forms.page_processors.form_processor() and
> the information would be available by FormForForm.email_to().
> So I could change a few lines to replace the email_from to email_from
> in the "email_copies" block.
>
> The question is, how do I accomplish this best?
> So far, I didn't find a clean way to override or disable this
> page_processor to add a custom one for form processing.
>
> Any ideas?
>
> Of course, I could simply write a custom app which provides this
> functionality (rendering a contact form and process the response) but
> I'm just curious whether there is a "Mezzanine way" :).
>
>
> Regards,
> Enrico
>
> --
> Not sent from my smartphone.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to