arteria / cmsplugin-contact-plus

With cmsplugin-contact-plus building custom forms for your django-cms project is a breeze. Now it's so easy to build the forms with exactly the fields you want in the order you want - with a minimal effort.
https://github.com/arteria/cmsplugin-contact-plus
BSD 3-Clause "New" or "Revised" License
30 stars 33 forks source link

reply_to replying only to the DEFAULT_FROM_EMAIL #58

Open M-ario opened 6 years ago

M-ario commented 6 years ago

Hi,

I have an issue with (reply_to). It is always replaying to the DEFAULT_FROM_EMAIL, but not to the email inserted by the user into the contact form.

Could you please provide an example of what should be changed to the original installation?

I`m using Django 1.8.18 and cmsplugin-contact-plus 1.2.12

Thanks in advance,

Mario

walterrenner commented 6 years ago

Set the CONTACT_PLUS_REPLY_EMAIL_LABEL to let's say my_email and now create a contact from with a field called my_email. Whatever the user enters into this fiels will be set as the Reply-To Header.

Here is the relevant code: https://github.com/arteria/cmsplugin-contact-plus/blob/c7a30783c357409bf79fde3ad1bd90c1fdeee286/cmsplugin_contact_plus/forms.py#L156-L159