Menu

#56 username/address problem

closed
None
5
2002-06-28
2002-06-01
No

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?

Discussion

  • Anonymous

    Anonymous - 2002-06-02
    • assigned_to: nobody --> rossigee
     
  • Anonymous

    Anonymous - 2002-06-02

    Logged In: YES
    user_id=29685

    Ross, any idea ?

     
  • Ross Golder

    Ross Golder - 2002-06-17

    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?

     
  • Jukka Pakkanen

    Jukka Pakkanen - 2002-06-20

    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...

     
  • Ross Golder

    Ross Golder - 2002-06-28

    Logged In: YES
    user_id=20872

    See 'get_default_from_address' in conf.php.dist (latest CVS).

     
  • Ross Golder

    Ross Golder - 2002-06-28
    • labels: 104548 -->
    • assigned_to: rossigee --> nobody
     
  • Ross Golder

    Ross Golder - 2002-06-28
    • assigned_to: nobody --> rossigee
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB