2
You can put in some code on account registration:
kernel/member.php lines 408 and onwards (activateUser() method):
function activateUser(&$user)
{
if ($user->getVar('level') != 0) {
return true;
}
$user->setVar('level', 1);
return $this->_uHandler->insert($user, true);
}
in between $user->setVar('level', 1);
and return $this->[...]
you can then put in this code:
$xoopsMailer =& getMailer();
$xoopsMailer->usePM();
$xoopsMailer->setToUsers($user);
$xoopsMailer->setSubject('Welcome to the site'); //or whatever you want the subject to be
$xoopsMailer->setBody('This is the welcome message'); //this is the text body - use n for new lines
$xoopsMailer->send();
and you should be set - of course edit the messages to your liking