Page 1 of 1

How to: set "From e-mail address" in form builder to visitors e-mail address

Posted: Thu Sep 30, 2010 6:49 pm
by simon.romin
Hi guys,

I have a small problem.

1/ I have created my contact form in Form Builder.
2/ I have created a field to send the information by e-mail to me.

Is it possible to set the "From address" to the visitor's e-mail address?

Currently whenever completes the form, the "from address" is always "support@******.com"

Can I change this to the visitor's e-mail address instead?

Hope someone can help!

Cheers,

Simon

Re: How to: set "From e-mail address" in form builder to visitors e-mail address

Posted: Thu Sep 30, 2010 6:51 pm
by Dr.CSS
I believe there is a field for that and it may be in the Help of the module...

Re: How to: set

Posted: Fri Jan 14, 2011 3:53 pm
by simon.romin
Oh howdo

I checked the file but I can't find the field in the Help area.

Can you give me more information please?

Cheers

Romano

Re: How to: set

Posted: Mon Jan 17, 2011 3:14 pm
by scooper
The field you're after is Email "From Address" Field. It's not in the Simple Mode dropdown of fields but it's there if you switch to Advanced Mode or just add a field normally.

That will try and send from the email address that's entered by the user.

Now there's an option when adding this field to specify which email header is used.
By default it's the From header - but it's probably slightly safer to use the 'Reply-to' header, just in case anyone is using SPF records to specify which servers are allowed to send mail on their behalf. You'll still be able to hit reply and email your user when the email arrives but it will still come from whatever account you've set up in your CMSMS mailer settings. I don't think it's a big issue though if you'd rather just use the From address.