In the latest CVS, the NOCC makes too strong
assumptions about everybody using userid@domain
style login named and email addresses.
Example we may have user ID's complete different
from the address (like user ID "Qaz" address
qwerty@domain). NOCC now automatically makes a
default email address when sending new message, and
also in the preferences page. Worse yet, since about
all our user ID's are persons name, like "Jukka
Pakkanen", and the address is usually
like "jukka.pakkanen@qnet.fi". Now NOCC
automatically inserts "jukka pakkanen@qnet.fi" email
address to new messages, and to preferences page,
and this is a major problem, because the error (note
the missing point in the email address) is not to easy
to spot (to our three thousand users).
In earlier versions it was fairly simple to edit the part
of the code (in action.php?) where NOCC simply
checked if there is a preset email address in the
preferences, then use it, and if not, then use
the "userid@domain" style address. Editing the
latter "if" to solve to blank solved the problem (in the
new message the From field would be empty, which is
better than a false address).
Now in the latest CVS and the prefs.php, I guess there
is no similar easy solutions?
Logged In: YES
user_id=29685
Ross, any idea ?
Logged In: YES
user_id=20872
The prefs code uses the 'login@domain' to identify the user
and select the user's prefs file. The generation of a
default e-mail address (based on 'user@domain') happens in a
couple of places iirc, and could just as easily be palmed
off to a common get_default_address function. Would this be
satisfactory?
Logged In: YES
user_id=433028
Sure if it means it's easy to change the code so that if
preferences are not set (or more precise, if the email address
is not set in the preferences), the default address is empty...
Logged In: YES
user_id=20872
See 'get_default_from_address' in conf.php.dist (latest CVS).