We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6744
    • 5 Posts
    I am new to WebLoginPE and haven’t really even gotten my sealegs under me yet. I am setting up my first registration form and when I submit a new user, I get the following cryptic error inside the <p class=wlpeMessageText> tag:
    An error while sending the email. Please contact the Site Administrator.

    When I add a WebUser through the manager interface, the confirmation email works fine. And even when I get the above error on my registration page, the WebUser gets created, it’s just that no verification message goes out.

    I’ve searched high and low for that error and can’t find it anywhere. I even tried searching for the word "sending" in the php code for WLPE, PhpMailer, eform and WebLogin, and I couldn’t any code that looked like it was generating that msg.

    Thanks in advance for the help....
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That sounds like an error from your system, or from PHP itself, and not from modx or WebLoginPE.
        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
        • 6744
        • 5 Posts
        You’re right. It was an error in my PHPMailer config. Unfortunately the error code from PHPMailer was not passed through to WLPE, which is why I received a generic error.

        Let this be a lesson to new WLPE users...make sure you correctly configure PHPMailer in /manager/includes/controls/class.phpmailer.php before even attempting to use WLPE.