We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22672
    • 4 Posts
    Hi there,

    Strange error here. I have a number of Contact Forms on my site. Have tested them on the development server and they work fine. Once I moved them to the live server they still work but to a point!!!

    The problem is when I submit the form I get the error message - CCSender: Mailer was unable to send mailCould not instantiate mail function.

    I still get the email delivered to me though!!!!

    The snippet call is - [!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[(emailsender)]` &ccsender=`1` &tpl=`ContactForm` &report=`ContactFormReport` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &gotoid=`46`!]

    MODx version 1.0.5
    IIS 6.0
    PHP Version 5.2.0

    Any ideas anyone. I have trawled through the web but no joy and I am under a bit of pressure here.
      • 4310
      • 2,310 Posts
      In your Contact Form chunk do you have a field named email for the CC sender?
      The eForm ccsender function is hard coded to that specific field name.
        • 22672
        • 4 Posts
        Cheers for that. I removed it from the snippet and it worked a treat! Thanks for your swift reply bunk58