Jan Schneider wrote: > Zitat von Jose Marcio Martins da Cruz <[EMAIL PROTECTED]>: > >> Hello, >> >> I'd like to be able to add a header to all IMP sent messages containing >> the login of the one who sent the message. It seems to me that I can >> easily use the exemple in the config/header.php file. But how can I get >> the login name of the sender ? What's the variable name or function I >> can use to do this ? > > Auth::getAuth()
Thanks ! It works ! $xheader = sprintf(_("domain.com / Auth user : %s"), Auth::getAuth()); $_header['X-IMP-Sender'] = $xheader; -- --------------------------------------------------------------- Jose Marcio MARTINS DA CRUZ http://j-chkmail.ensmp.fr Ecole des Mines de Paris 60, bd Saint Michel 75272 - PARIS CEDEX 06 mailto:[EMAIL PROTECTED] -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]