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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to