We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17723
    • 221 Posts
    Hello,
    Im trying to set a &from=`[email protected]` adress in eForm snipped call.
    But instead having email from: [email protected] i get: [email protected].
    Could anyone sugesst me where is the problem?
    My snipped call is:
    [!eForm? &formid=`formularz_kontaktowy` &from=`[email protected]` &fromname=`Strona internetowa` &tpl=`FormularzKontaktowyTPL` &report=`RaportFormularza` &thankyou=`ThankYouTPL` &to=`[email protected]` &subject=`Email ze strony internetowej`!]

    Im using MODX 9.6.3
    and MySQL ver is: 5.0.66a-log
    PHP: ver 5.2.6

    Lx
      Lucas from AroundCyprus.net
      • 22840
      • 1,572 Posts
      Not used eForm but have to tried changing the email address in >> tools >> configeration >> user
        • 17723
        • 221 Posts
        Unfortunatly does’t help huh
        lx
          Lucas from AroundCyprus.net
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          The setting in the Tools menu shouldn’t affect your Snippet call unless you are using one of its [(placeholders)], but you’re not... .you’re writing in the email address you want explicitly.

          Have you tried clearing the site cache (under the Site menu in the manager)? That might be the problem.

          Also, could you post the contents of your chunk containing the form? It’s the one referenced by &tpl=`FormularzKontaktowyTPL`
            • 17723
            • 221 Posts
            Hello,
            clearing the site cache didn’t help.

            The content of `FormularzKontaktowyTPL` is:
            <form id="formularz_kontaktowy" action="[~[*id*]~]" method="post">
                   <table id="form_table" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td colspan="2" align="right"><label id="form_title">Formularz kontaktowy:</label></td>
                <td>[+validationmessage+]</td>
              </tr>
              <tr>
                <td width="153" align="right"><label>Imię i nazwisko:</label></td>
                <td width="15"></td>
                <td width="342"><input name="imie" type="text" class="form_text_input" eform="Imię i nazwisko:string:1:podaj imię i nazwisko" /></td>
                </tr>
              <tr>
                <td align="right"><label>mail:</label></td>
                <td></td>
                <td><input name="mail" type="text" class="form_text_input" eform="adres mailowy:email:1:wprowadź poprawny adres mailowy" /></td>
                </tr>
              <tr>
                <td align="right" valign="top"><label>tekst wiadomości:</label></td>
                <td> </td>
                <td><textarea name="form_textmessage" id="form_textmessage" cols="5" rows="40" eform="wiadomość:html:1:wprowadź treść wiadmomości"></textarea></td>
                </tr>
              <tr>
                <td align="right"> </td>
                <td> </td>
                <td><input name="send" type="submit" value=" " id="form_submit" /></td>
              </tr>
            </table>
                   </form>
              Lucas from AroundCyprus.net