Ricardo, I added a couple of mesasges I sent to the list with the same
subject.
I tested the code modified in functions/addressbook.php in 1.4.2 and works
perfect.

Norberto

----- Mensaje original -----
De    : Jimmy Conner <[EMAIL PROTECTED]>
Para  : [EMAIL PROTECTED]
Fecha : Fri, 28 May 2004 13:44:58 -0500 (CDT)
Asunto: RE: Re: [SM-USERS] Adress format at compose

>Yes, this should be present in 1.4.3 rc1.  You can easily fix it in any
>1.4.x by openning functions/addressbook.php and changing the full_address
>function to be this
>
>    function full_address($row) {
>        global $addrsrch_fullname, $data_dir, $username;
>        $prefix = getPref($data_dir, $username, 'addrsrch_fullname');
>        if (($prefix != "" || (isset($addrsrch_fullname) &&
>            $prefix == $addrsrch_fullname)) && $prefix != 'noprefix') {
>            $name = ($prefix == 'nickname' ? $row['nickname'] :
>$row['name']);
>            return $name . ' <' . trim($row['email']) . '>';
>        } else {
>            return trim($row['email']);
>        }
>    }
>
>Jimmy Conner
>
>
>On Fri, May 28, 2004 11:20 am, Norberto Altalef said:
>>
>> Thanks for your help Jimmy
>> I'm planning to use SM in a production environment and installed 1.4.2-1
>> in
>> a Debian using a .deb package.
>> Is this functionality present in 1.4.3-RC1 ?
>>
>> Many thanks
>> Norberto
>>
>>>
>>>
>>>  There really is nothing to fix if you are using 1.4.2 CVS from at least
>>>Fri Mar 26 14:33:31 2004 UTC (2 months ago).  This functionailty has
>>>been present for along time (but with bugs) and I fixed several things
>>>to do with it 2 months ago.  There is just presently no option to change
>>>it.
>>>
>>>  Try manually editting your pref file, and putting this in
>>>
>>>addrsrch_fullname=full
>>>or
>>>addrsrch_fullname=nickname
>>>or to get it back to normal (or you can just delete it)
>>>addrsrch_fullname=noprefix
>>>
>>>Logout of SM then log back in and try composing using an address from the
>>>addressbook.
>>>
>>>Hope that helps, and we should probably get an option in there sometime
>>>after 1.4.3 is released.
>>>
>>>Jimmy Conner
>>>
>>>
>>>

----- Mensaje original -----
De    : Ricardo Stella <[EMAIL PROTECTED]>
Para  : [EMAIL PROTECTED]
Fecha : Thu, 03 Jun 2004 12:50:46 -0400
Asunto: [SM-USERS] Use full name on compose/reply

>
>When I do an addressbook search pointing to an ldap server,  is there a
>way so that the 'Full Name' is sent back to the To: field ?
>
>For example, currently it just puts in the email address.  I would want
>to put:
>
>"FirstName LastName" <[EMAIL PROTECTED]>
>
>Same thing happens when you reply to someone.  Only the email address
>goes in the To: field.
>
>(using 1.4.3a)
>
>TIA...
>
>


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to