[imp] get domoainname from URL

Jan Schneider jan@horde.org
Sun, 23 Dec 2001 15:21:52 +0100


Zitat von Clemens Hermann <haribeau@gmx.de>:

> Hi,
> 
> is there a way to get the domainname-part of a mailadresse from the URL
> of
> the virtual server-name at the login page?
> E.g. I have two Domains, dom1.com and dom2.com. I offer imp.dom1.com as
> webmail URL for one and imp.dom2.com as webmail URL for the other
> domain.
> Now the people would no longer need to enter the full mailadress but
> just
> the part before the "@" because the rest could be gathered from the
> URL.
> Does something like this yet exist? I did not find anything in the docs
> for
> RC3 and google did not want to enlighten me either.

the vhost hook in conf.php is probably what you are looking for.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::