Am I the only to one to find the archive not as it ’ supposed to be ’ ?
Here’s what I got into the zip for ver 1.3
/eform
|___/docs (empty)
|---/lang (empty)
...and what is described into the documentation
/eformx
|___/docs (empty)
|---/snippets
/webroot
|___/modx0902
|---/html
|---/assets
|---/html
|---/snippets
|---/eform
|---/docs (empty)
|---/lang (empty)
1st "eform"content looks like being the real stuff.. is that right ?
What should be done with the 2 other forlders and subs ??
Thanks
Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
http://www.dzi-neo.net
-
☆ A M B ☆
- 24,524 Posts
Somebody forgot to take care of the $replyto in the AddAddressToMailer function. Here’s the corrected function (line 352 of eform.inc.php)
# Adds Addresses to Mailer
function AddAddressToMailer(&$mail,$type,$addr){
$a = explode(",",$addr);
for($i=0;$i<count($a);$i++){
if(!empty($a[$i])) {
if ($type=="to") $mail->AddAddress($a[$i]);
elseif ($type=="cc") $mail->AddCC($a[$i]);
elseif ($type=="bcc") $mail->AddBCC($a[$i]);
elseif ($type=="replyto") $mail->AddReplyTo($a[$i]);
}
}
}
Thanks for that Susan.. I’ve updated it in the repository.
Ok
I’ll wont blame anyone, just a matter of clarification
Thank you
Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
http://www.dzi-neo.net
Quote from: kms_cms at Oct 05, 2006, 09:49 AM
Please help!
That this: Could not instantiate mail function
What me do 
Hi,
Can you please supply us with some details on your setup?
Things like version of eForm and MODx used, etc
-
MODX Staff
- 12,272 Posts
I believe its an incompatibility with safe_mode being on and the mail function, but not 100% certain.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
There’s an error in your code:
Change
&subject="Сообщение с сайта"
to
&subject=`Сообщение с сайта`