By default, any emails you receive will come from formname@domain.com (where "formname" is the saved name of your form and "domain.com" is your publishing domain). However, the Reply and Reply-To addresses will be set to whatever email address was entered on the form. This helps to prevent any emails from accidentally being flagged as SPAM. You can override this setting and allow the form to come directly from the email address that was entered into the form by making a small change to the PHP script.
Note: This change will need to be made each time you make changes to your form. Also, should you have issues with email not arriving after you make this change, revert your setup back to the defaults.
To make this change over FTP, locate the form.cfg.php file and then look for this block of code:
"notification_message"
{
"bcc" : "",
"cc" : "",
"custom" :
{
"body" : "blah blah blah blah blah",
"is_present" : false,
"subject" : "Thank you for your submission"
},
"from" : "",
"is_present" : true,
"replyto" : "[email4]",
"to" : "you@yourdomain.com"
You'll need to alter the "from" address in that code by adding the "Name" property of the email address element in your form, placed within brackets. For this example, your email address element's "Name" property is "email4", so we will enter "[email4]" into the code:
"notification_message"
{
"bcc" : "",
"cc" : "",
"custom" :
{
"body" : "blah blah blah blah blah",
"is_present" : false,
"subject" : "Thank you for your submission"
},
"from" : "[email4]",
"is_present" : true,
"replyto" : "[email4]",
"to" : "you@yourdomain.com"
Where there was previously an empty set of quotes, we have now placed "[email4]". That's how it works! Don't forget that you need to use the "Name" property that is unique to your email address element.