We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53877
    • 18 Posts
    Hi all, my form it was up and running just perfect yesterday, but come to find out, not today no one is receiving the submission form... is there something I did wrong? Something I'm missing? I've tested it for most pages and they won't give me an email, but for some reason on my test page I do receive the email.

    [[!FormIt?
    &hooks=`spam,email,redirect`
    &emailTpl=`sentEmailQCIHQ`
    &emailSubject=`Web Inquiry`
    &emailTo=`[email protected]`
    &redirectTo=`26`
    ]]
    


    ***UPDATE***
    So, I did what a fellow helper below suggested by changing the email sender domain to the domain of the site and so far my test contact form works, BUT now my dilemma is that I am able to receive the submitted forms via email, but when I add anyone else, they seem to not be able to get them. Any reasons why? Truly appreciate all of the help!

    This question has been answered by lkfranklin. See the first response.

    [ed. note: beremts12 last edited this post 6 years, 5 months ago.]
      • 38783
      • 571 Posts
      Can you post the code from the test form that does send an email and another form that does not so that they can be compared?
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
        • 53877
        • 18 Posts
        I have, but oddly enough it doesn't send. Even when the code is exactly the same.
          • 17301
          • 932 Posts
          Is the website domain the same as the email domain it's going to by any chance?:)
            ■ email: [email protected] | ■ website: https://alienbuild.uk

            The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
            • 17301
            • 932 Posts
            Is the website domain the same as the email domain it's going to by any chance?:)
              ■ email: [email protected] | ■ website: https://alienbuild.uk

              The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
              • 53877
              • 18 Posts
              It is not, I have it under my company's domain email, but would you think if I changed the email sender to the website domain it'll work? The website domain is quickconnectors and I have it as something else.

              Would [email protected] work? Even if that email does not exist?
                • 17301
                • 932 Posts
                Have you set an emailFrom or is it just using the system setting default? Is the SPF and public DNS setup accordingly to allow it?
                  ■ email: [email protected] | ■ website: https://alienbuild.uk

                  The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
                  • 53877
                  • 18 Posts
                  Quote from: lkfranklin at Nov 15, 2017, 08:35 AM
                  Have you set an emailFrom or is it just using the system setting default? Is the SPF and public DNS setup accordingly to allow it?

                  I do not have the emailFrom set up but ill try and do that. How do I set the SPF and public DNS to allow it? Thanks for all of your help!
                    • 53877
                    • 18 Posts
                    Here is my snippet, form, chunk, and the way the SMTP is set up for reference:

                    [[!FormIt?
                    &hooks=`spam,email,redirect`
                    &emailTpl=`sentEmailHQ`
                    &emailSubject=`Message from QCI Contact Us`
                    &emailTo=`[email protected]`
                    &redirectTo=`26`
                    ]]
                    
                    <form id="contactFrom" class="cmxform" method="post" action="[[~[[*id]]]]" role="form" onsubmit="myFunction()">
                    
                        <div class="messages"></div>
                    
                        <div class="controls">
                    
                            <div class="row">
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label for="contact_name">First *</label>
                                        <input id="contact_name" type="text" name="contact_name" value="[[!+fi.contact_name]]" class="form-control" placeholder="Please enter your first name" required="required" data-error="Firstname is required.">
                                        <div class="help-block with-errors"></div>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label for="contact_last">Last *</label>
                                        <input id="contact_last" type="text" name="contact_last" value="[[!+fi.contact_last]]" class="form-control" placeholder="Please enter your last name" required="required" data-error="Lastname is required.">
                                        <div class="help-block with-errors"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label for="contact_email">Email *</label>
                                        <input id="contact_email" type="email" name="contact_email" value="[[!+fi.contact_email]]" class="form-control" placeholder="Please enter a valid email address" required="required" data-error="Valid email is required.">
                                        <div class="help-block with-errors"></div>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label for="contact_phone">Phone</label>
                                        <input id="contact_phone_NA_format" type="tel" name="contact_phone_NA_format" value="[[!+fi.contact_phone_NA_format]]" class="form-control" placeholder="Please enter your phone">
                                        <div class="help-block with-errors"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-8">
                                    <div class="form-group">
                                        <label for="contact_message">Message *</label>
                                        <textarea id="contact_message" name="contact_message" class="form-control" placeholder="Message for us" rows="4" required="required" data-error="Please,leave us a message.">[[!+fi.contact_message]]</textarea>
                                        <div class="help-block with-errors"></div>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <input type="submit" class="btn btn-success btn-send submit" value="Submit" name="submit">
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-12">
                                    <p class="text-muted"><strong>*</strong> These fields are required.</p>
                                </div>
                            </div>
                        </div>
                    
                    </form>
                    


                      • 17301
                      • 932 Posts
                      Try using quickemail ( https://modx.com/extras/package/quickemail ) to debug what's going on. SPF/MX records are set in the domains control panel. You could also try emailing via SMTP rather than relying on php mail.
                        ■ email: [email protected] | ■ website: https://alienbuild.uk

                        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.