We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29110
    • 17 Posts
    I’ve been wrestling with WebLoginPE on a project progressing slowly thanks to the forums and the community. But failed with the registration process. All set up correctly as far as I could tell but no emails were sent. I followed all of the links threads and tried all of the advice but I continued to get an error - new registrations were made and appeared in the back end (manager) but no emails were sent and I failed to reach the registration success page.


    I decided to see if there was a more recent version of PHPMailer. The version shipped with the standard evo 1.0.4. I googled it and arrived here http://phpmailer.worxware.com/index.php?pg=phpmailer where I found a version 5. So I downloaded it (for PHP5) and swapped the class.phpmailer.php and class.smtp.php files for the site, updating the smtp variables as specified here : http://modxcms.com/forums/index.php?topic=48136.0 though I find that only port 587 works for gmail and that you need to set ’from’, ’from name’ and ’sent (reply to)’ all to be the same and your full email address (thats how login works for google and my main host anyhow).

    Bingo. It worked first time. If it doesn’t work then make sure you also replaced the class.smtp.php file at the same time (blush - I forgot and ended up with a blank page on registration)...

    Hope that helps. Its taken me far, far too long to get to this point and I’d love to be able to save other folk that pointless loss of time !!

    All the very best and a big thanks to the community - apart from exasperating issues like this, I’m loving MODx.