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

    I’m looking for something like this:

    mail($email_to, $email_subject, $email_message, $headers);

    in the eForm script.

    Can someone tell me which part actually sends the email?


    Many thanks
      • 28042 ā˜† A M B ā˜†
      • 24,524 Posts
      eForm uses the phpmailer class. There are five places where mail is sent in the assets/snippets/eform/eform.inc.php file, lines 349 (abuse), 436 (the actual mailing of the report), 458 (mail copy to user), 473 (auto-responder) and 492 (mobile).
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org