Did you ever try [tt]&replyto=`email`[/tt] ?
If you set [tt]&replyto=`[+email+]`[/tt], the PH value of [tt][+email+][/tt] at snippet call time will be used. At this moment, the form ist not filled out yet. Just try [tt]&replyto=`email`[/tt]. Then, eForm will handle this string as a form field name and replace it by the filled in value. At least so it does with me.
Martin
-
☆ A M B ☆
- 339 Posts
Would habe been nice but didnt work. By the way... 1.4.4.5 is the version.
Quote from: dogo at Jun 26, 2009, 01:43 AM
Solution:
inside the eForm snippet:
'replyto' => isset($replyto)? $replyto:$_POST['name']."<".$_POST['email'].">",
Please send kisses, cookies and cakes to: [email protected] 
Guido
You say Solution, does it work? If so, where in the eForm snippet should this piece of code go?

Should it replace
//$replyto snippet parameter must contain email or fieldname
if(!strstr($replyto,'@'))
$replyto = ( $fields[$replyto] && strstr($fields[$replyto],'@') )?$fields[$replyto]:$from;
I think, thererfor I am! But what I am, and why...?
I tried your solution, but there must be something wrong with my setup. What ever I do I only get my host’s email adress in the replyto field.
I use eForm 1.4.4.5 on MODx 0.9.6.3.
My snippetcall:
[!eForm? &formid=`feedbackForm` &to=`[email protected]` &language=`norwegian` &tpl=`eFeedBackLag` &report=`eFeedbackReport` &thankyou=`eFeedBackThanks` &vericode=`1` &subject=`Melding til Kjerringoy båtforening`!]
Is there something special that should go into the &tpl chunk?
I think, thererfor I am! But what I am, and why...?
-
☆ A M B ☆
- 339 Posts
Hm... if the field in your form is called "email" try and add "&replyto=`email`" to your snippet call.
If you edited the snippet itself like I did, make sure You use the same names for the fields inside the form and the snippet (<input name="mailbox"..> goes into $_POST[’mailbox’])