On 7/29/05, Dave Hall <[EMAIL PROTECTED]> wrote: > On Thu, 2005-07-28 at 11:33 -0500, Chris Weiss wrote: > > why would it be up to tts? it should be using the phpgwapi send mail > > class, if it's not then it needs fixed... except it unsupported for > > reasons just like this. > > > > I would argue that the api needs a account->get_email_address method > which gets the user's email address. First it should check for a linked > contact and see if there is an email address there, if so use it, if not > move on to the various email apps. >
the email classes are the ones that get the logged in users email address, based on the username and the domain config'd in admin->email->site config and nothing to do with the new contacts backend (this stuff predates it). Maybe using the contacts backend would be the best way, but class.send doesn't know about it and works fine everywhere else. _______________________________________________ Phpgroupware-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-users
