<![CDATA[ [SOLVED] YAMS & eform : not sending e-mail - MODX Community Forums]]> https://forums.modx.com/thread/?thread=45632 <![CDATA[Re: [SOLVED] YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263962
Any application is going to have users with different requirements, and sometimes it just becomes impossible for one person to continue adding and modifying features to try to satisfy everybody. I know; I’ve had to abandon a few applications I found useful and shared, then had a constant stream of requests (and the occasional more insistent, if not downright rude, demand) that eventually were more than I could handle.]]>
sottwell Jul 14, 2011, 10:35 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263962
<![CDATA[Re: [SOLVED] YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263961
I don’t think it’s being updated thow, thats what’s told to me last time.

fourroses666 Jul 14, 2011, 09:36 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263961
<![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263960
here is the solution:

eform call for every language :

[!eForm? &language=`(yams_mname)` &formid=`eFormContactForm_(yams_id)` &to=`email` &tpl=`eFormContactForm_(yams_id)` &report=`eFormContactReport_(yams_id)`!]

Chunk "eFormContactForm_fr" for tpl in french

if you use alias from YAMS, as i do in this case, you muste write form action="(yams_doc)". Otherwise you can use action="[~[*id*]~]" (as i read it on this thread : http://modxcms.com/forums/index.php?topic=64814.0)

<form action="(yams_doc)" method="post" id="eFormContactForm_fr">
<input name="formid" type="hidden" value="eFormContactForm_fr" />

Chunk "eFormContactForm_en" for tpl in english

<form action="(yams_doc)" method="post" id="eFormContactForm_en">
<input name="formid" type="hidden" value="eFormContactForm_en" />

Chunk "eFormContactReport_en" for Report in english

Here is a mail from the website XXX, from english form
you can write whatever you want, just put the fields like [+name+]

Chunk "eFormContactReport_fr" for Report in french

Voici un mail depuis le site XXX, écrit avec le formulaire en français.
you can write whatever you want, just put the fields like [+name+]

And that’s all !
thanks again for helping me !
this forum is great, so when i can help a little bit...
do you think it’s possible to add this in the YAMS documentation, as a little example?]]>
troubadour Jul 14, 2011, 07:48 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263960
<![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263959
i will give it a try this afternoon or this evening and i’ll let you know if it works!

troubadour Jul 13, 2011, 06:22 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263959
<![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263958 fourroses666 Jul 12, 2011, 09:18 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263958 <![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263957
<input type="hidden" name="eFormContactForm_fr" value="eFormContactForm_fr">

should be
<input type="hidden" name="formid" value="eFormContactForm_fr">
sottwell Jul 12, 2011, 08:46 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263957
<![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263956
What I meant by having an eForm working in a non-YAMS page was to see if eForm works on your site at all; it may have nothing at all to do with YAMS.

What is the generated form’s action attribute, is that as it should be? What happens if the resource is uncached?

I see you have the hidden field already; if you just make sure the form’s id attribute matches your formid parameter eForm will generate the hidden field at the bottom of the form by itself. In any case, is the generated form’s formid field attributes and value correct?]]>
sottwell Jul 12, 2011, 08:37 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263956
<![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263955
no the contact form page must be multilingual.

i allready tried the debug mode, but everything is ok. What error should i see?]]>
troubadour Jul 12, 2011, 07:32 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263955
<![CDATA[Re: YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263954 sottwell Jul 12, 2011, 07:13 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263954 <![CDATA[ [SOLVED] YAMS &amp; eform : not sending e-mail]]> https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263953
i use eform with yams, but i have a problem.
when i submit my form, the page is refreshed, form emptied,and nothing else, no email sent.

here is my code:


[!eForm? &language=`(yams_mname)` &formid=`eFormcontactForm_(yams_id)` &tpl=`eFormContactForm_(yams_id)` &report=`eFormContactReport_(yams_id)` &to=`XXXXXX`&subject=`YYYYYYYYYYYY` &thankyou=`eFormContactThankyou_(yams_id)`!]

eFormContactForm_fr :

<form action="(yams_doc)" method="post">
<input type="hidden" name="eFormContactForm_fr" value="eFormContactForm_fr">

<p>Message de la part de [+name+] depuis le site internet (formulaire en français).</p>
<tr valign="top"><td>Titre:</td><td>[+titre+]</td></tr>
<tr valign="top"><td>Nom:</td><td>[+nom+]</td></tr>
<tr valign="top"><td>Prénom:</td><td>[+prenom+]</td></tr>
<tr valign="top"><td>Societe:</td><td>[+societe+]</td></tr>
<tr valign="top"><td>Adresse:</td><td>[+adresse+]</td></tr>
<tr valign="top"><td>NPA:</td><td>[+npa+]</td></tr>
<tr valign="top"><td>Localité:</td><td>[+localite+]</td></tr>
<tr valign="top"><td>telephone:</td><td>[+telephone+]</td></tr>
<tr valign="top"><td>Email:</td><td>[+email+]</td></tr>
<tr valign="top"><td>Commentaire:</td><td>[+comments+]</td></tr>
<p>Vous pouvez utiliser ce lien pour répondre: <a href="mailto:[+email+]?subject=RE:[+subject+]">[+email+]</a></p>

can someone see the error ?

thank you very much !]]>
troubadour Jul 12, 2011, 06:46 AM https://forums.modx.com/thread/45632/solved-yams-eform-not-sending-e-mail#dis-post-263953