We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32380
    • 137 Posts
    sad
    Please can someone help, i have set up eform befor but for some reason this ones not sending

    My Call:
    [!eForm? &formid=`ContactForm`&tpl=`ContactForm` &subject=`Contact Us` &thankyou=`ContactThanks` &report=`ContactReport` to =`my email`!]

    ContactForm (chunk)
    <form method="post" action="contact.html" class="contact">
    <input type="hidden" name="formid" value="ContactForm" />
    <h1>Contact Form</h1>
    <p><input type="text" name="name" id="name"/></p>

    <p><input type="text" name="company" id="company"/></p>

    <p><input type="text" name="email" id="email"/></p>

    <p><input type="text" name="cont_no" id="cont_no"/></p>

    <p><textarea name="details" id="details" rows="4">Details</textarea></p>

    <p><input type="submit" name="button" id="button" value="Submit" /></p>
    </form>

    ContactReport (chunk)
    <p>This is a response sent by [+name+] using the Contact us form on the website. The details of the message follow below:</p>

    ContactThanks (Chunk)
    <p>Thank you for your interest [+name+] we will be contacting you shortly</p>


    The form shows on the page and when filled in the thanks message is also shown but no email gets sent! im very confused.
    hopfully someone can help!!
      • 4310
      • 2,310 Posts
      Try a real email addressrather than
      to =`my email`

      If that doesn’t work maybe sendmail isn’t enabled on your host?
        • 32380
        • 137 Posts
        I omitted my email address in the post, have tries with several different email addresses i will check with my hosting co to see if send mail is enabled, if it isn’t is there an alternative soloution?

        Thanks for your reply
          • 32380
          • 137 Posts
          I have just checked my php info and its says

          sendmail_from [email protected] so i assume it is enabled?

          also my host has the following under sendmail in there support

          Should you need the absolute path to sendmail for use in a CGI script, it’s in /usr/sbin/sendmail.

          does this help?
            • 32380
            • 137 Posts
            How strange, i have just been told that my customer has received all of the emails i have been testing, they are going his main email address, but it is completely ignoring the email address in the snippet call??
            any suggestions as this is scrambling my brain!!
              • 32380
              • 137 Posts
              Problem solved, im not sure how i did it but would seem to be a problem with either the code in the call or a problem (as i re did the or could have been with my host!?