2
/********************************************************
6
Do whatever needs to be done for a new user, that
7
isn't done by the default program. This might include
8
something like sending them a welcoming email, or
9
upgrading external databases.
10
It can be anything as long as IT HAS NOT OUTPUT.
12
This shouldn't require authentication or any sort of
13
validation that could prevent the user from logging in.
14
Any such processing must be done in conf/custom_auth.inc
20
$error - Don't run if this isn't empty...
21
...primary authentication failed.
23
Whatever that needs to be done...
25
********************************************************/
29
The code below will send a short email to the new user.
32
// $email_address = $user_name."@".$host;
33
// $subject = "Welcome to IlohaMail";
34
// $message = "Hi!\n\n";
35
// $message .= "Welcome to IlohaMail, the best webmail on the net.\n";
36
// $message .= "This program was brought to you by the folks at\n";
37
// $message .= "IlohaMail.org\n";
38
// mail($email_address, $subject, $message);