-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi daniel, On Monday, February 20, 2006, daniel wrote: > Great! That worked fantastically. That plug-in idea sounds good. I will > get around to doing that.
There is a doc in the docs/ directory that gives you some ideas, or you can take a look at a plugin shipped with SquirrelMail. > This is how I implemented it to test your idea. > Under do hook(webmail_top) in webmail.php: > $split = explode('/', $username); > $realaddress = ($split[2] . '@' . $domain); > > setPref($data_dir, $username, 'email_address', $realaddress); > This successfully changed the email address into the format [EMAIL PROTECTED] > in the user's pref. Well spotted. I guess it helps for the email address to include the domain ;) > Thanks again! Glad it worked :) - -- Jonathan Angliss <[EMAIL PROTECTED]> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) iD8DBQFD+dTFK4PoFPj9H3MRAmdgAKDhXW4qgnHSiIe4YxUXCNLuqCIdLgCg/fXK PQ8rU0OJrTyj3fs5YkI/kNE= =or4V -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users