phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] Getting mail-adresses of users in phpgw


From: heiko . schwarzenberg
Subject: Re: [Phpgroupware-developers] Getting mail-adresses of users in phpgw
Date: Tue, 9 Apr 2002 09:57:20 +0200

take a look at the preferences-class in phpgwapi. there's a function
"create_email_preferences()" which returns all email-preferences like the 
address or the mail-
server.
you could get the address through:

$temp_prefs = 
$GLOBALS['phpgw']->preferences->create_email_preferences($account_id);
$email = $temp_prefs['email']['address'];

this works only if the user has filled his email preferences.

heiko


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi *,
>
> is there a possebilety to get the email-adress of an phpgroupware-account?
> When doing the authentication based on SQL, there is no field in the database
> which holds the mailadress.
>
> I'm using 0.9.14RC2
>
> Thx Jürgen
> - --
>  Juergen Henge-Ernst // Hauptstrasse 37 // 67591 Mölsheim // Germany
>            email: address@hidden        ICQ 56324358
> Key fingerprint = 5FFD 89AC 6C7B 76DD 5FAC  9A3F D1A9 0C9B 3B49 67B1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8sZRC0akMmztJZ7ERAkELAJ9ddXndnqtYSQZiUEb9sn3T8FFQrgCg0f3B
> Rvq1otvlaCqpg2/0TcGdLrM=
> =M64W
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]