Good afternoon, I'm having issue getting Login to send an activation email when a user signs up.
After signing up a test user, using the registration form, the user is created (but deactivated) as would be expected. But no email is sent.
I am able to send email from MODx through other means, e.g. this snippet works:
$to = "<emailaddr>";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
The QuickEmail plugin by bobray also works and sends email that I can receive. I am perplexed. Does the Login plugin use a different method to the rest of MODx?
Any ideas would be appreciated. Thanks a lot.