Re: has anyone forced django-contact-form to send the email from the contactor

2011-03-19 Thread shofty
just in case anyone else googles this anytime i chose the former approach so i need to change that attribute after the form is posted, cos until then we don't have the users email address. inside get_message_dict, line before returning message_dict message_dict['from_email'] = self.request.POST[

Re: has anyone forced django-contact-form to send the email from the contactor

2011-03-18 Thread Tom Evans
On Fri, Mar 18, 2011 at 11:07 AM, shofty wrote: > has anyone got any code to share on how to make the email appear to be > from the person who is submitting the form. > > you'd think it'd be simple, but i cant work out how to do it. > It is simple: https://bitbucket.org/ubernostrum/django-contac

has anyone forced django-contact-form to send the email from the contactor

2011-03-18 Thread shofty
has anyone got any code to share on how to make the email appear to be from the person who is submitting the form. you'd think it'd be simple, but i cant work out how to do it. i run a local smtp server on the django server, so if its about not appearing to relay for spam reasons, i can get past