We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8844
    • 15 Posts
    when i send email form from my website , it show error
    "Main mail: Mailer was unable to send mailCould not instantiate mail function. "
    i don’t know what is it. pls reply me
      • 38685
      • 59 Posts
      Paul Bakulich Reply #2, 17 years ago
      Hi! You really need to give details....

      mainly...
      Your snippet call to eform...
      Your chunks used and then when you have posted that we can do a troubleshoot!

      BTW Check out the documentation.....
      Eform Cheatsheet post. ..... http://modxcms.com/forums/index.php/topic,42002.msg252110.html#msg252110

      and there is a whole forum Child Board here on Eform.... http://modxcms.com/forums/index.php/board,200.0.html

      and when your finished there you can even check out the Modx Wiki at http://wiki.modxcms.com/index.php/EForm

      Hope that helps!
      Paul

        Paul AL Bakulich - Association for Computing Machinery Professional Member
        http://palbakulich.me/ | http://twitter.com/#!/palhmbs
        • 8844
        • 15 Posts
        no no no..
        when i submit the form and it show the unnormal error message
        "Main mail: Mailer was unable to send mailCould not instantiate mail function. "

        Didn’t show chuck not found or other validation error message or thankyou messge...

        i think there is an error on manager/includes/control/class.phpmailer.php

        Geeeeez how do i do..
          • 16278
          • 928 Posts
          Are you sure the PHP mail() function is enabled on your server? If not, you will need to set up eForm to use SMTP mail instead. There are several threads in the eForm sub-forum about this.
          smiley KP
            • 4310
            • 2,310 Posts
            Sounds like the PHP mail function isn’t allowed by your host.
            Try using this as an external page to test it.
            <?php
                mail('[email protected]', 'Subject: Testing PHP Mail Function', 'Does this work?');
            ?>